Package com.io7m.jsx.api.parser
Interface JSXParserType
- All Known Implementing Classes:
JSXParser
public interface JSXParserType
The type of parsers.
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
parseExpression
- Returns:
- The next expression
- Throws:
JSXParserException- On parse errorsIOException- On I/O errors
-
parseExpressionOrEOF
- Returns:
- The next expression, or
Optional.empty()if EOF is reached - Throws:
JSXParserException- On parse errorsIOException- On I/O errors
-
parseExpressions
- Returns:
- All of the expressions up to EOF
- Throws:
JSXParserException- On parse errorsIOException- On I/O errors
-