JSXParserTypepublic final class JSXParser extends Object implements JSXParserType
JSXParserType type.| Modifier and Type | Method | Description |
|---|---|---|
static JSXParserType |
newParser(JSXParserConfigurationType pc,
JSXLexerType lex) |
Construct a new parser.
|
SExpressionType |
parseExpression() |
|
Optional<SExpressionType> |
parseExpressionOrEOF() |
|
List<SExpressionType> |
parseExpressions() |
public static JSXParserType newParser(JSXParserConfigurationType pc, JSXLexerType lex)
pc - The parser configurationlex - A lexerpublic SExpressionType parseExpression() throws JSXParserException, IOException
parseExpression in interface JSXParserTypeJSXParserException - On parse errorsIOException - On I/O errorspublic Optional<SExpressionType> parseExpressionOrEOF() throws JSXParserException, IOException
parseExpressionOrEOF in interface JSXParserTypeOptional.empty() if EOF is reachedJSXParserException - On parse errorsIOException - On I/O errorspublic List<SExpressionType> parseExpressions() throws JSXParserException, IOException
parseExpressions in interface JSXParserTypeJSXParserException - On parse errorsIOException - On I/O errorsCopyright © 2017 <code@io7m.com> http://io7m.com