Package com.io7m.jsx.lexer
Class JSXLexerSupplier
java.lang.Object
com.io7m.jsx.lexer.JSXLexerSupplier
- All Implemented Interfaces:
JSXLexerSupplierType
A lexer supplier.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(JSXLexerConfiguration configuration, com.io7m.jeucreader.UnicodeCharacterReaderPushBackType reader) Create a new lexer from the given configuration and reader.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.io7m.jsx.api.lexer.JSXLexerSupplierType
createFromReader, createFromStream, createFromStreamUTF8
-
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:JSXLexerSupplierTypeCreate a new lexer from the given configuration and reader.- Specified by:
createin interfaceJSXLexerSupplierType- Parameters:
configuration- The configurationreader- The reader- Returns:
- A new lexer
-