public class TextLexer extends AbstractLexer implements ParserAutoCompleter
Constructor and Description |
---|
TextLexer() |
Modifier and Type | Method and Description |
---|---|
Character |
getBeginEndEscapeChar() |
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 |
isDeactivateComments() |
boolean |
isKeepEndMatchText() |
boolean |
isKeepStartMatchText() |
boolean |
isOrdered() |
Class<?> |
resolveType(Grammar grammar)
Resolves the type of the object parsed by this lexer.
|
void |
setBeginEndEscapeChar(Character beginEndEscapeChar) |
void |
setDeactivateComments(boolean deactivateComments) |
void |
setKeepEndMatchText(boolean keepEndMatchText) |
void |
setKeepStartMatchText(boolean keepStartMatchText) |
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 Character getBeginEndEscapeChar()
public void setBeginEndEscapeChar(Character beginEndEscapeChar)
public boolean isKeepStartMatchText()
public void setKeepStartMatchText(boolean keepStartMatchText)
public boolean isKeepEndMatchText()
public void setKeepEndMatchText(boolean keepEndMatchText)
public boolean isDeactivateComments()
public void setDeactivateComments(boolean deactivateComments)
public AutoCompleteConfiguration getParserAutoCompleteConfiguration()
ParserAutoCompleter
getParserAutoCompleteConfiguration
in interface ParserAutoCompleter
public void setParserAutoCompleteConfiguration(AutoCompleteConfiguration autoCompleteConfiguration)
ParserAutoCompleter
setParserAutoCompleteConfiguration
in interface ParserAutoCompleter