Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- identifier :: ParsecT String u Identity [Char]
- identB :: ParsecT String u Identity Expression
- numberB :: ParsecT String u Identity Expression
- boolB :: ParsecT String u Identity Expression
- thisB :: ParsecT String u Identity Expression
- nullB :: ParsecT String u Identity Expression
- stringA :: Stream s m Char => (a -> b) -> Char -> (Char -> ParsecT s u m a) -> ParsecT s u m b
- stringB :: ParsecT String u Identity Expression
- templateStringB :: ParsecT String u Identity Expression
- regexB :: Stream s m Char => ParsecT s u m Expression
- arrayB :: ParsecT String u Identity Expression
- parensB :: ParsecT String u Identity Expression
- checkSpread :: Stream s m Char => (b -> b) -> ParsecT s u m b -> ParsecT s u m b
- formalParameter :: ParsecT String u Identity BindExpression
- functionDeclB :: ParsecT String u Identity Expression
- afunctionB :: ParsecT String u Identity Expression
- functionB :: ParsecT String u Identity Expression
- propertyMethodDef :: ParsecT String u Identity Expression
- classStaticDef :: ParsecT String u Identity Expression
- classGetSetMethodDef :: ParsecT String u Identity Expression
- asyncMethodDef :: ParsecT String u Identity Expression
- classPropertyDef :: ParsecT String u Identity Expression
- classB :: ParsecT String u Identity Expression
- kvB :: ParsecT String u Identity ObjectProperty
- objectB :: ParsecT String u Identity Expression
- dotMember :: Expression -> ParsecT String u Identity Expression
- accessor :: Expression -> ParsecT String u Identity Expression
- callExp :: Expression -> ParsecT String u Identity Expression
- newB :: ParsecT String u Identity (Maybe a)
- memberExp :: Maybe Expression -> ParsecT String u Identity Expression
- literals :: ParsecT String u Identity Expression
- primaryExp :: ParsecT String u Identity Expression
- maybeSemi :: ParsecT String u Identity ()
- emptyExp :: ParsecT String u Identity Expression
- leftHandSideExp :: ParsecT String u Identity Expression
- expressions :: ParsecT String u Identity Expression
- comment :: ParsecT String u Identity Expression
- multilineComment :: ParsecT String u Identity Expression
- expressionNonEmpty :: Bool -> ParsecT String u Identity Expression
- toStatement :: Expression -> Statement
- importNamespaceClause :: ParsecT String u Identity ImportClause
- importBindClause :: ParsecT String u Identity ImportClause
- importDefaultNameClause :: ParsecT String u Identity ImportClause
- importManyClauses :: ParsecT String u Identity [ImportClause]
- importClauses :: ParsecT String u Identity (Either ImportClause [ImportClause])
- importFileStatement :: ParsecT String u Identity Statement
- importStatement :: ParsecT String u Identity Statement
- importStatements :: ParsecT String u Identity Statement
- reexportStatement :: ParsecT String u Identity Statement
- exportDefaultStatement :: ParsecT String u Identity Statement
- exportStatement :: ParsecT String u Identity Statement
- exportStatements :: ParsecT String u Identity Statement
- continueStatement :: ParsecT String u Identity Statement
- breakStatement :: ParsecT String u Identity Statement
- blockStatement :: Stream s m Char => ParsecT s u m Statement -> ParsecT s u m Statement
- ifStatement :: ParsecT String u Identity Statement
- catchB :: ParsecT String u Identity Statement
- finallyB :: ParsecT String u Identity Statement
- tryStatement :: ParsecT String u Identity Statement
- throwStatement :: ParsecT String u Identity Statement
- returnStatement :: ParsecT String u Identity Statement
- bindVar :: ParsecT String u Identity BindExpression
- bindPatternDecl :: ParsecT String u Identity BindExpression
- bindSpread :: ParsecT String u Identity BindExpression
- bindExpression :: ParsecT String u Identity BindExpression
- constVariableStatement :: ParsecT String u Identity Statement
- notConstVariableStatement :: ParsecT String u Identity Statement
- variableStatement :: ParsecT String u Identity Statement
- caseClause :: ParsecT String u Identity SwitchCase
- caseCase :: ParsecT String u Identity Statement
- caseBlock :: ParsecT String u Identity [Statement]
- switchStatement :: ParsecT String u Identity Statement
- debuggerStatement :: ParsecT String u Identity Statement
- breakableStatement :: ParsecT String u Identity Statement
- whileStatement :: ParsecT String u Identity Statement
- doWhileStatement :: ParsecT String u Identity Statement
- forInVStyle :: ParsecT String u Identity ForStyle
- forOfVStyle :: ParsecT String u Identity ForStyle
- forInStyle :: ParsecT String u Identity ForStyle
- forOfStyle :: ParsecT String u Identity ForStyle
- forRegularStyle :: ParsecT String u Identity ForStyle
- forStyle :: ParsecT String u Identity ForStyle
- forStatement :: ParsecT String u Identity Statement
- iterationStatement :: ParsecT String u Identity Statement
- withStatement :: ParsecT String u Identity Statement
- labelledStatement :: ParsecT String u Identity Statement
- statements :: ParsecT String u Identity Statement
- topLevelStatements :: ParsecT String u Identity Statement
- parseJs :: ParsecT String u Identity [Statement]
- parse :: String -> String -> Either ParseError [Statement]
- parseFromFile :: String -> IO (Either ParseError [Statement])
Documentation
stringA :: Stream s m Char => (a -> b) -> Char -> (Char -> ParsecT s u m a) -> ParsecT s u m b Source #
templateStringB :: ParsecT String u Identity Expression Source #
template strings
functionDeclB :: ParsecT String u Identity Expression Source #
function expression
afunctionB :: ParsecT String u Identity Expression Source #
arrow expression (function)
dotMember :: Expression -> ParsecT String u Identity Expression Source #
accessor :: Expression -> ParsecT String u Identity Expression Source #
callExp :: Expression -> ParsecT String u Identity Expression Source #
memberExp :: Maybe Expression -> ParsecT String u Identity Expression Source #
expressions :: ParsecT String u Identity Expression Source #
expressions
expressionNonEmpty :: Bool -> ParsecT String u Identity Expression Source #
toStatement :: Expression -> Statement Source #
parseFromFile :: String -> IO (Either ParseError [Statement]) Source #