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 in let finalRet = \_farInp _farExp v _inp -> Data.Either.Right v
33 Symantic.Parser.Machine.Generate.Catcher
35 b = \_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.parsingErrorUnexpected =
49 else GHC.Maybe.Nothing,
50 Symantic.Parser.Machine.Generate.parsingErrorExpecting = Data.Set.Internal.fromList farExp
52 in let name = \(!ok) (!inp) (!koByLabel) ->
53 let _ = "catchException lbl=fail"
54 in let catchHandler (!failInp) (!farInp) (!farExp) =
55 let _ = "catchException.ko lbl=fail"
56 in if ( \( Data.Text.Internal.Text
61 ( Data.Text.Internal.Text
65 ) -> i GHC.Classes.== j
70 let _ = "choicesBranch.then"
75 ( let _ = "resume.genCode"
80 let _ = "choicesBranch.else"
84 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp failInp of
100 in finalRaise failInp farInp farExp
101 in let readFail = catchHandler
108 in if ('a' GHC.Classes.==) c
112 in \farInp farExp v (!inp) ->
117 ( let _ = "resume.genCode"
118 in \x -> 'a' GHC.Types.: v x
123 Data.Map.Internal.Tip
125 let _ = "checkToken.else"
129 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
133 [Symantic.Parser.Grammar.Combinators.ErrorItemToken 'a']
138 GHC.Types . [] GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemToken 'a']
145 in readFail inp farInp farExp
147 let _ = "checkHorizon.else"
151 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init inp of
155 [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
160 GHC.Types . [] GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
167 in readFail inp farInp farExp
170 in \farInp farExp v (!inp) ->
171 let readFail = finalRaise
178 in if ('b' GHC.Classes.==) c
184 ( let _ = "resume.genCode"
185 in GHC.Show.show (v GHC.Types . [])
189 let _ = "checkToken.else"
193 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp inp of
197 [Symantic.Parser.Grammar.Combinators.ErrorItemToken 'b']
202 farExp GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemToken 'b']
209 in finalRaise inp farInp farExp
211 let _ = "checkHorizon.else"
215 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp inp of
219 [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
224 farExp GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
231 in finalRaise inp farInp farExp
234 Data.Map.Internal.Tip