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