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 ('r' GHC.Classes.==) c
112 in \farInp farExp v (!inp) ->
117 ( let _ = "resume.genCode"
118 in \x -> 'r' 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 'r']
138 GHC.Types . [] GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemToken 'r']
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 join = \farInp farExp v (!inp) ->
176 ( let _ = "resume.genCode"
177 in GHC.Show.show (v GHC.Types . [])
180 in let _ = "catchException lbl=fail"
181 in let catchHandler (!failInp) (!farInp) (!farExp) =
182 let _ = "catchException.ko lbl=fail"
183 in if ( \( Data.Text.Internal.Text
188 ( Data.Text.Internal.Text
192 ) -> i GHC.Classes.== j
197 let _ = "choicesBranch.then"
201 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp failInp of
205 [Symantic.Parser.Grammar.Combinators.ErrorItemEnd]
210 farExp GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemEnd]
217 in finalRaise failInp farInp farExp
219 let _ = "choicesBranch.else"
223 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp failInp of
232 farExp GHC.Base.<> []
239 in finalRaise failInp farInp farExp
240 in let _ = "catchException lbl=fail"
241 in let catchHandler (!failInp) (!farInp) (!farExp) =
242 let _ = "catchException.ko lbl=fail"
247 ( let _ = "resume.genCode"
251 in let readFail = catchHandler
258 in if (\x -> GHC.Types.True) c
263 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp inp of
272 farExp GHC.Base.<> []
279 in catchHandler inp farInp farExp
281 let _ = "checkToken.else"
285 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp inp of
294 farExp GHC.Base.<> []
301 in readFail inp farInp farExp
303 let _ = "checkHorizon.else"
307 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp inp of
311 [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
316 farExp GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
323 in readFail inp farInp farExp
326 Data.Map.Internal.Tip