public abstract class ATESyntaxEngine extends Object
| Modifier and Type | Field and Description |
|---|---|
protected SimpleAttributeSet |
commentAttr |
protected ATESyntaxEngineDelegate |
delegate |
protected SimpleAttributeSet |
keywordAttr |
protected ATESyntaxLexer |
lexer |
protected ATESyntaxParser |
parser |
protected SimpleAttributeSet |
stringAttr |
protected List<ATEToken> |
tokens |
| Constructor and Description |
|---|
ATESyntaxEngine() |
| 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) |
Set<String> |
getKeywords()
Returns the set of keyword for the language.
|
ATESyntaxLexer |
getLexer() |
List<ATELine> |
getLines() |
int |
getMaxLines() |
ATESyntaxParser |
getParser() |
List<ATEToken> |
getTokens() |
void |
process() |
void |
processSyntax() |
void |
refreshColoring() |
void |
setDelegate(ATESyntaxEngineDelegate delegate) |
protected ATESyntaxEngineDelegate delegate
protected ATESyntaxLexer lexer
protected ATESyntaxParser parser
protected SimpleAttributeSet commentAttr
protected SimpleAttributeSet stringAttr
protected SimpleAttributeSet keywordAttr
public void close()
public void setDelegate(ATESyntaxEngineDelegate delegate)
public int getMaxLines()
public ATESyntaxLexer getLexer()
public ATESyntaxParser getParser()
public ATESyntaxLexer createLexer()
public ATESyntaxParser createParser()
public AttributeSet getAttributeForToken(ATEToken token)
public void processSyntax()
public void process()
public void applyCommentAttribute(SimpleAttributeSet commentAttr)
public void applyStringAttribute(SimpleAttributeSet stringAttr)
public void applyKeywordAttribute(SimpleAttributeSet keywordAttr)
public void refreshColoring()
Copyright © 2013. All rights reserved.