Package com.io7m.jsx.lexer
Class JSXLexer
java.lang.Object
com.io7m.jsx.lexer.JSXLexer
- All Implemented Interfaces:
JSXLexerType
The default implementation of the
JSXLexerType type.-
Method Summary
Modifier and TypeMethodDescriptionstatic JSXLexerTypenewLexer(JSXLexerConfiguration c, com.io7m.jeucreader.UnicodeCharacterReaderPushBackType r) Construct a new lexer.token()
-
Method Details
-
newLexer
public static JSXLexerType newLexer(JSXLexerConfiguration c, com.io7m.jeucreader.UnicodeCharacterReaderPushBackType r) Construct a new lexer.- Parameters:
c- The lexer configurationr- The unicode character reader- Returns:
- A new lexer
-
token
- Specified by:
tokenin interfaceJSXLexerType- Returns:
- The next token from the input.
- Throws:
IOException- On I/O errors.JSXLexerException- On lexical errors.
-