Language.Parser.Ptera.Pipeline.SRB2Parser
type Action ctx = Action (SemActM ctx) Source #
srb2Parser :: forall ctx tokens elem altHelp. GrammarToken tokens elem => Proxy tokens -> T Int StringLit (Maybe altHelp) (Action ctx) -> T ctx elem altHelp Source #
buildTrans :: Int -> MState -> Trans Source #
buildStateHelp :: [AltItem] -> [(AltNum, Int)] Source #
transOp :: TransOp -> TransOp Source #
runAction :: Action ctx -> ActionM ctx Source #