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 join = \farInp farExp v (!inp) ->
60 ( let _ = "resume.genCode"
64 in let _ = "catch ExceptionFailure"
65 in let catchHandler (!_exn) (!failInp) (!farInp) (!farExp) =
66 let _ = "catch.ko ExceptionFailure"
67 in if ( \( Data.Text.Internal.Text
72 ( Data.Text.Internal.Text
76 ) -> i GHC.Classes.== j
81 let _ = "choicesBranch.then"
82 in let failExp = Data.Set.Internal.Bin 1 (Symantic.Parser.Grammar.Combinators.SomeFailure Symantic.Parser.Grammar.Combinators.FailureEnd) Data.Set.Internal.Tip Data.Set.Internal.Tip
86 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) farInp failInp of
95 failExp GHC.Base.<> farExp
102 in finalRaise Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp farInp farExp
104 let _ = "choicesBranch.else"
105 in finalRaise Symantic.Parser.Grammar.Combinators.ExceptionFailure failInp farInp farExp
106 in let _ = "catch ExceptionFailure"
107 in let catchHandler (!_exn) (!failInp) (!farInp) (!farExp) =
108 let _ = "catch.ko ExceptionFailure"
113 ( let _ = "resume.genCode"
117 in let readFail = catchHandler
120 let !(# c, cs #) = readNext init
121 in if (\x -> GHC.Types.True) c
122 then catchHandler Symantic.Parser.Grammar.Combinators.ExceptionFailure init init Data.Set.Internal.empty
124 let _ = "checkToken.else"
125 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure init init Data.Set.Internal.empty
127 let _ = "checkHorizon.else"
129 Data.Set.Internal.Bin
131 ( Symantic.Parser.Grammar.Combinators.SomeFailure
133 (Data.Proxy.Proxy :: Data.Proxy.Proxy tok') -> Symantic.Parser.Grammar.Combinators.FailureHorizon @tok' 1
136 Data.Set.Internal.Tip
137 Data.Set.Internal.Tip
141 #) = case (GHC.Classes.compare `Data.Function.on` Symantic.Parser.Machine.Input.offset) init init of
150 failExp GHC.Base.<> Data.Set.Internal.empty
155 Data.Set.Internal.empty
157 in readFail Symantic.Parser.Grammar.Combinators.ExceptionFailure init farInp farExp