public class StringLexer extends AbstractLexer implements ParserAutoCompleter
Constructor and Description |
---|
StringLexer() |
Modifier and Type | Method and Description |
---|---|
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() |
Class<?> |
resolveType(Grammar grammar)
Resolves the type of the object parsed by this lexer.
|
void |
setParserAutoCompleteConfiguration(AutoCompleteConfiguration autoCompleteConfiguration)
Allows to configure a preferred autoComplete scheme.
|
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 AutoCompleteConfiguration getParserAutoCompleteConfiguration()
ParserAutoCompleter
getParserAutoCompleteConfiguration
in interface ParserAutoCompleter
public void setParserAutoCompleteConfiguration(AutoCompleteConfiguration autoCompleteConfiguration)
ParserAutoCompleter
setParserAutoCompleteConfiguration
in interface ParserAutoCompleter