9 ( t@( Data.Text.Internal.Text
15 let !( Data.Text.Unsafe.Iter
18 ) = Data.Text.Unsafe.iter t 0
21 Data.Text.Internal.Text arr (off GHC.Num.+ d) (unconsumed GHC.Num.- d)
24 ( Data.Text.Internal.Text
28 ) = unconsumed GHC.Classes.> 0
29 in (# input, more, next #)
30 finalRet = \_farInp _farExp v _inp -> Data.Either.Right v
33 Symantic.Parser.Machine.Generate.Catcher
35 b = \(!exn) _failInp (!farInp) (!farExp) ->
37 Symantic.Parser.Machine.Generate.ParsingErrorStandard
38 { Symantic.Parser.Machine.Generate.parsingErrorOffset = Symantic.Parser.Machine.Input.offset farInp,
39 Symantic.Parser.Machine.Generate.parsingErrorException = exn,
40 Symantic.Parser.Machine.Generate.parsingErrorUnexpected =
50 else GHC.Maybe.Nothing,
51 Symantic.Parser.Machine.Generate.parsingErrorExpecting = farExp
53 in let inputToken = Data.Proxy.Proxy :: Data.Proxy.Proxy (Symantic.Parser.Machine.Input.InputToken inp)
55 in let _ = "catch ExceptionFailure"
56 in let catchHandler (!_exn) (!failInp) (!farInp) (!farExp) =
57 let _ = "catch.ko ExceptionFailure"
58 in finalRaise Symantic.Parser.Grammar.Combinators.ExceptionFailure init farInp farExp
59 in let readFail = catchHandler
60 in if readMore (Symantic.Parser.Machine.Input.shiftRightText 2 init)
62 let !(# c, cs #) = readNext init
63 in if (GHC.Classes.==) 'a' c
65 let readFail = readFail
66 in let !(# c, cs #) = readNext cs
67 in if (GHC.Classes.==) 'b' c
69 let readFail = readFail
74 in if (GHC.Classes.==) 'c' c
79 Data.Set.Internal.empty
80 ( let _ = "resume.genCode"
81 in GHC.Show.show ((GHC.Types.:) 'a' ((GHC.Types.:) 'b' ((GHC.Types.:) 'c' GHC.Types . [])))
85 let _ = "checkToken.else"
89 ( Symantic.Parser.Grammar.Combinators.SomeFailure
91 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureToken 'c'
99 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init cs of
108 failExp GHC.Base.<> Data.Set.Internal.empty
113 Data.Set.Internal.empty
115 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure cs farInp farExp
117 let _ = "checkToken.else"
119 Data.Set.Internal.Bin
121 ( Symantic.Parser.Grammar.Combinators.SomeFailure
123 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureToken 'b'
126 Data.Set.Internal.Tip
127 Data.Set.Internal.Tip
131 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init cs of
140 failExp GHC.Base.<> Data.Set.Internal.empty
145 Data.Set.Internal.empty
147 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure cs farInp farExp
149 let _ = "checkToken.else"
151 Data.Set.Internal.Bin
153 ( Symantic.Parser.Grammar.Combinators.SomeFailure
155 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureToken 'a'
158 Data.Set.Internal.Tip
159 Data.Set.Internal.Tip
163 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init init of
172 failExp GHC.Base.<> Data.Set.Internal.empty
177 Data.Set.Internal.empty
179 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure init farInp farExp
181 let _ = "checkHorizon.else"
183 Data.Set.Internal.Bin
185 ( Symantic.Parser.Grammar.Combinators.SomeFailure
187 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 3
190 Data.Set.Internal.Tip
191 Data.Set.Internal.Tip
195 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init init of
204 failExp GHC.Base.<> Data.Set.Internal.empty
209 Data.Set.Internal.empty
211 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure init farInp farExp