Class JSXLexerSupplier

java.lang.Object
com.io7m.jsx.lexer.JSXLexerSupplier
All Implemented Interfaces:
JSXLexerSupplierType

public final class JSXLexerSupplier extends Object implements JSXLexerSupplierType
A lexer supplier.
  • Constructor Details

    • JSXLexerSupplier

      public JSXLexerSupplier()
      Create a new lexer supplier. Note: This constructor must be public and zero-arg for OSGi compatibility.
  • Method Details

    • create

      public JSXLexerType create(JSXLexerConfiguration configuration, com.io7m.jeucreader.UnicodeCharacterReaderPushBackType reader)
      Description copied from interface: JSXLexerSupplierType
      Create a new lexer from the given configuration and reader.
      Specified by:
      create in interface JSXLexerSupplierType
      Parameters:
      configuration - The configuration
      reader - The reader
      Returns:
      A new lexer