Interface JSXLexerSupplierType
- All Known Implementing Classes:
JSXLexerSupplier
- 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 lexer suppliers.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(JSXLexerConfiguration configuration, com.io7m.jeucreader.UnicodeCharacterReaderPushBackType reader) Create a new lexer from the given configuration and reader.default JSXLexerTypecreateFromReader(JSXLexerConfiguration configuration, Reader reader) Create a new lexer from the given configuration and reader.default JSXLexerTypecreateFromStream(JSXLexerConfiguration configuration, Charset charset, InputStream stream) Create a new lexer from the given configuration and stream.default JSXLexerTypecreateFromStreamUTF8(JSXLexerConfiguration configuration, InputStream stream) Create a new lexer from the given configuration and stream.
-
Method Details
-
create
JSXLexerType create(JSXLexerConfiguration configuration, com.io7m.jeucreader.UnicodeCharacterReaderPushBackType reader) Create a new lexer from the given configuration and reader.- Parameters:
configuration- The configurationreader- The reader- Returns:
- A new lexer
-
createFromReader
Create a new lexer from the given configuration and reader.- Parameters:
configuration- The configurationreader- The reader- Returns:
- A new lexer
-
createFromStream
default JSXLexerType createFromStream(JSXLexerConfiguration configuration, Charset charset, InputStream stream) Create a new lexer from the given configuration and stream.- Parameters:
configuration- The configurationcharset- The character set of the stream datastream- The stream- Returns:
- A new lexer
-
createFromStreamUTF8
Create a new lexer from the given configuration and stream. The stream is parsed as UTF-8 data.- Parameters:
configuration- The configurationstream- The stream- Returns:
- A new lexer
-