public final class JPRAParser extends Object implements JPRAParserType
JPRAParserType interface.| Modifier and Type | Method and Description |
|---|---|
static JPRAParserType |
newParser(com.io7m.jsx.serializer.JSXSerializerType serial,
JPRAReferenceParserType ref_parser) |
void |
parseEOF(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> lex)
EOF has been encountered.
|
SizeExprType<Unresolved,Untyped> |
parseSizeExpression(com.io7m.jsx.SExpressionType e)
Parse a size expression.
|
StatementType<Unresolved,Untyped> |
parseStatement(com.io7m.jsx.SExpressionType expr)
Parse a statement.
|
TypeExprType<Unresolved,Untyped> |
parseTypeExpression(com.io7m.jsx.SExpressionType expr)
Parse a type expression.
|
public static JPRAParserType newParser(com.io7m.jsx.serializer.JSXSerializerType serial, JPRAReferenceParserType ref_parser)
serial - A serializer for error messagesref_parser - A reference parserpublic StatementType<Unresolved,Untyped> parseStatement(com.io7m.jsx.SExpressionType expr) throws JPRACompilerParseException
JPRAParserTypeparseStatement in interface JPRAParserTypeexpr - The input expressionJPRACompilerParseException - On parse errorspublic TypeExprType<Unresolved,Untyped> parseTypeExpression(com.io7m.jsx.SExpressionType expr) throws JPRACompilerParseException
JPRAParserTypeparseTypeExpression in interface JPRAParserTypeexpr - The input expressionJPRACompilerParseException - On parse errorspublic SizeExprType<Unresolved,Untyped> parseSizeExpression(com.io7m.jsx.SExpressionType e) throws JPRACompilerParseException
JPRAParserTypeparseSizeExpression in interface JPRAParserTypee - The input expressionJPRACompilerParseException - On parse errorspublic void parseEOF(Optional<com.io7m.jlexing.core.ImmutableLexicalPositionType<Path>> lex) throws JPRACompilerParseException
JPRAParserTypeparseEOF in interface JPRAParserTypelex - Lexical information, if anyJPRACompilerParseException - On parse errorsCopyright © 2016 <code@io7m.com> http://io7m.com