Interface JSXParserSupplierType
- All Known Implementing Classes:
JSXParserSupplier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The type of parser suppliers.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(JSXParserConfiguration configuration, JSXLexerType lexer) Create a new parser from the given configuration and lexer.default JSXParserTypecreateFromReader(JSXParserConfiguration parser_configuration, JSXLexerConfiguration lexer_configuration, JSXLexerSupplierType lexer_supplier, com.io7m.jeucreader.UnicodeCharacterReaderPushBackType reader) Create a new parser from the given parser configuration and lexer.default JSXParserTypecreateFromStream(JSXParserConfiguration parser_configuration, JSXLexerConfiguration lexer_configuration, JSXLexerSupplierType lexer_supplier, Charset charset, InputStream stream) Create a new parser from the given parser configuration and lexer.default JSXParserTypecreateFromStreamUTF8(JSXParserConfiguration parser_configuration, JSXLexerConfiguration lexer_configuration, JSXLexerSupplierType lexer_supplier, InputStream stream) Create a new parser from the given parser configuration and lexer.
-
Method Details
-
create
Create a new parser from the given configuration and lexer.- Parameters:
configuration- The configurationlexer- The lexer- Returns:
- A new parser
-
createFromReader
default JSXParserType createFromReader(JSXParserConfiguration parser_configuration, JSXLexerConfiguration lexer_configuration, JSXLexerSupplierType lexer_supplier, com.io7m.jeucreader.UnicodeCharacterReaderPushBackType reader) Create a new parser from the given parser configuration and lexer.- Parameters:
parser_configuration- The parser configurationlexer_configuration- A lexer configurationlexer_supplier- A lexer supplierreader- The reader- Returns:
- A new parser
-
createFromStream
default JSXParserType createFromStream(JSXParserConfiguration parser_configuration, JSXLexerConfiguration lexer_configuration, JSXLexerSupplierType lexer_supplier, Charset charset, InputStream stream) Create a new parser from the given parser configuration and lexer.- Parameters:
parser_configuration- The parser configurationlexer_configuration- A lexer configurationlexer_supplier- A lexer suppliercharset- The character set of the stream datastream- The stream- Returns:
- A new parser
-
createFromStreamUTF8
default JSXParserType createFromStreamUTF8(JSXParserConfiguration parser_configuration, JSXLexerConfiguration lexer_configuration, JSXLexerSupplierType lexer_supplier, InputStream stream) Create a new parser from the given parser configuration and lexer. The stream is parsed as UTF-8 data.- Parameters:
parser_configuration- The parser configurationlexer_configuration- A lexer configurationlexer_supplier- A lexer supplierstream- The stream- Returns:
- A new parser
-