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
53 in let join = \farInp farExp v (!inp) ->
58 ( let _ = "resume.genCode"
62 in let _ = "catchException lbl=fail"
63 in let catchHandler (!failInp) (!farInp) (!farExp) =
64 let _ = "catchException.ko lbl=fail"
65 in if ( \( Data.Text.Internal.Text
70 ( Data.Text.Internal.Text
74 ) -> i GHC.Classes.== j
79 let _ = "choicesBranch.then"
83 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp failInp of
87 [Symantic.Parser.Grammar.Combinators.ErrorItemEnd]
92 farExp GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemEnd]
99 in finalRaise failInp farInp farExp
101 let _ = "choicesBranch.else"
105 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp failInp of
114 farExp GHC.Base.<> []
121 in finalRaise failInp farInp farExp
122 in let _ = "catchException lbl=fail"
123 in let catchHandler (!failInp) (!farInp) (!farExp) =
124 let _ = "catchException.ko lbl=fail"
129 ( let _ = "resume.genCode"
133 in let readFail = catchHandler
136 let !(# c, cs #) = readNext init
137 in if (\x -> GHC.Types.True) c
142 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init init of
151 GHC.Types . [] GHC.Base.<> []
158 in catchHandler init farInp farExp
160 let _ = "checkToken.else"
164 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init init of
173 GHC.Types . [] GHC.Base.<> []
180 in readFail init farInp farExp
182 let _ = "checkHorizon.else"
186 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init init of
190 [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
195 GHC.Types . [] GHC.Base.<> [Symantic.Parser.Grammar.Combinators.ErrorItemHorizon 1]
202 in readFail init farInp farExp