public final class StructuredSyntaxDocumentFilter.LexerNode extends Object
Modifier and Type | Method and Description |
---|---|
Style |
getDefaultStyle() |
boolean |
isInitialized() |
void |
parse(CharBuffer buffer,
int offset,
int length) |
void |
putChild(String[] regexps,
StructuredSyntaxDocumentFilter.LexerNode node) |
void |
putChild(String regexp,
StructuredSyntaxDocumentFilter.LexerNode node) |
void |
putStyle(String[] regexps,
Style style) |
void |
putStyle(String regexp,
Style style) |
void |
removeChild(String regexp) |
void |
removeStyle(String regexp) |
void |
removeStyle(String[] regexps) |
void |
setDefaultStyle(Style style) |
public Style getDefaultStyle()
public boolean isInitialized()
public void parse(CharBuffer buffer, int offset, int length) throws BadLocationException
buffer
- offset
- length
- BadLocationException
public void putChild(String regexp, StructuredSyntaxDocumentFilter.LexerNode node)
regexp
- node
- public void putChild(String[] regexps, StructuredSyntaxDocumentFilter.LexerNode node)
regexps
- node
- public void removeChild(String regexp)
regexp
- public void removeStyle(String regexp)
regexp
- public void removeStyle(String[] regexps)
regexps
- public void setDefaultStyle(Style style)