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.

@ProviderType @FunctionalInterface public interface JSXLexerSupplierType
The type of lexer suppliers.
  • 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 configuration
      reader - The reader
      Returns:
      A new lexer
    • createFromReader

      default JSXLexerType createFromReader(JSXLexerConfiguration configuration, Reader reader)
      Create a new lexer from the given configuration and reader.
      Parameters:
      configuration - The configuration
      reader - 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 configuration
      charset - The character set of the stream data
      stream - The stream
      Returns:
      A new lexer
    • createFromStreamUTF8

      default JSXLexerType createFromStreamUTF8(JSXLexerConfiguration configuration, InputStream stream)
      Create a new lexer from the given configuration and stream. The stream is parsed as UTF-8 data.
      Parameters:
      configuration - The configuration
      stream - The stream
      Returns:
      A new lexer