public class MultiCharacter extends AbstractElementAnalyzer implements ScriptBasicKeyWords
BASIC_KEYWORDS, BASIC_OPERATOR_LEXEME_MAX_LENGTH, BASIC_OPERATORS| Constructor and Description |
|---|
MultiCharacter() |
| Modifier and Type | Method and Description |
|---|---|
LexicalElement |
read()
Reads a lexeme and returns the created lexical element.
|
getReader, setReaderpublic LexicalElement read() throws LexicalException
LexicalElementAnalyzer
If the characters read from the reader show that the lexeme is not the
type that the class implementing this interface can handle then the
characters are pushed back to he reader and null is returned.
If the characters read from the reader show that the lexeme is the type that the class implementing this interface can handle, but is erroneous, then the method throws the exception.
read in interface LexicalElementAnalyzerread in class AbstractElementAnalyzernullLexicalExceptionCopyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.