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.

@ProviderType @FunctionalInterface public interface JSXParserSupplierType
The type of parser suppliers.
  • Method Details

    • create

      JSXParserType create(JSXParserConfiguration configuration, JSXLexerType lexer)
      Create a new parser from the given configuration and lexer.
      Parameters:
      configuration - The configuration
      lexer - 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 configuration
      lexer_configuration - A lexer configuration
      lexer_supplier - A lexer supplier
      reader - 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 configuration
      lexer_configuration - A lexer configuration
      lexer_supplier - A lexer supplier
      charset - The character set of the stream data
      stream - 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 configuration
      lexer_configuration - A lexer configuration
      lexer_supplier - A lexer supplier
      stream - The stream
      Returns:
      A new parser