public class NextCharLexer extends AbstractLexer implements ParserAutoCompleter
Constructor and Description |
---|
NextCharLexer() |
Modifier and Type | Method and Description |
---|---|
CharDetectorFactory |
getDetector() |
LexerParser |
getParser(LexerParser parent)
Returns a parser which is able to handles the text relative to this lexer
|
AutoCompleteConfiguration |
getParserAutoCompleteConfiguration()
Allows to configure a preferred autoComplete scheme.
|
boolean |
isOrdered() |
boolean |
isUnread() |
Class<?> |
resolveType(Grammar grammar)
Resolves the type of the object parsed by this lexer.
|
void |
setDetector(CharDetectorFactory detector) |
void |
setParserAutoCompleteConfiguration(AutoCompleteConfiguration autoCompleteConfiguration)
Allows to configure a preferred autoComplete scheme.
|
void |
setUnread(boolean unread) |
equals, getDslDoc, getEnd, getId, getListener, getListenerClass, getMatcherAutoCompleteConfiguration, getStart, hashCode, isRoot, isRootOnly, resolveEnd, resolveStart, setDslDoc, setEnd, setId, setListenerClass, setMatcherAutoCompleteConfiguration, setRoot, setRootOnly, setStart, toString, validate
public boolean isOrdered()
public Class<?> resolveType(Grammar grammar)
Lexer
resolveType
in interface Lexer
public LexerParser getParser(LexerParser parent)
Lexer
public CharDetectorFactory getDetector()
public void setDetector(CharDetectorFactory detector)
public boolean isUnread()
public void setUnread(boolean unread)
public AutoCompleteConfiguration getParserAutoCompleteConfiguration()
ParserAutoCompleter
getParserAutoCompleteConfiguration
in interface ParserAutoCompleter
public void setParserAutoCompleteConfiguration(AutoCompleteConfiguration autoCompleteConfiguration)
ParserAutoCompleter
setParserAutoCompleteConfiguration
in interface ParserAutoCompleter