Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- cf2Bison :: RecordPositions -> ParserMode -> CF -> SymMap -> String
- resultName :: String -> String
- typeName :: String -> String
- varName :: Cat -> String
- specialToks :: CF -> [[String]]
- startSymbol :: CF -> String
- unionBuiltinTokens :: [String]
Documentation
cf2Bison :: RecordPositions -> ParserMode -> CF -> SymMap -> String Source #
resultName :: String -> String Source #
varName :: Cat -> String Source #
slightly stronger than the NamedVariable version. >>> varName (Cat Abc) "abc_"
specialToks :: CF -> [[String]] Source #
Produces a table with the built-in token types.
startSymbol :: CF -> String Source #
Bison only supports a single entrypoint.
unionBuiltinTokens :: [String] Source #