public class GrammarSyntaxEngine extends ATESyntaxEngine
| Modifier and Type | Field and Description |
|---|---|
static Color |
COLOR_LEXER |
static Color |
COLOR_PARSER |
commentAttr, delegate, keywordAttr, lexer, parser, stringAttr, tokens| Constructor and Description |
|---|
GrammarSyntaxEngine() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyCommentAttribute(SimpleAttributeSet commentAttr) |
void |
applyKeywordAttribute(SimpleAttributeSet keywordAttr) |
void |
applyStringAttribute(SimpleAttributeSet stringAttr) |
void |
close() |
ATESyntaxLexer |
createLexer() |
ATESyntaxParser |
createParser() |
AttributeSet |
getAttributeForToken(ATEToken token) |
void |
refreshColoring() |
void |
resolveReferencesWithExternalNames(Set<String> names) |
getKeywords, getLexer, getLines, getMaxLines, getParser, getTokens, process, processSyntax, setDelegatepublic static final Color COLOR_PARSER
public static final Color COLOR_LEXER
public void close()
close in class ATESyntaxEnginepublic void applyCommentAttribute(SimpleAttributeSet commentAttr)
applyCommentAttribute in class ATESyntaxEnginepublic void applyStringAttribute(SimpleAttributeSet stringAttr)
applyStringAttribute in class ATESyntaxEnginepublic void applyKeywordAttribute(SimpleAttributeSet keywordAttr)
applyKeywordAttribute in class ATESyntaxEnginepublic ATESyntaxLexer createLexer()
createLexer in class ATESyntaxEnginepublic ATESyntaxParser createParser()
createParser in class ATESyntaxEnginepublic void refreshColoring()
refreshColoring in class ATESyntaxEnginepublic AttributeSet getAttributeForToken(ATEToken token)
getAttributeForToken in class ATESyntaxEngineCopyright © 2013. All rights reserved.