Package groovy.ui.text
Class StructuredSyntaxDocumentFilter.LexerNode
java.lang.Object
groovy.ui.text.StructuredSyntaxDocumentFilter.LexerNode
- Enclosing class:
- StructuredSyntaxDocumentFilter
public final class StructuredSyntaxDocumentFilter.LexerNode extends Object
-
Method Summary
Modifier and Type Method 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)
-
Method Details
-
getDefaultStyle
-
isInitialized
public boolean isInitialized()- Returns:
- true if initialised
-
parse
- Parameters:
buffer
-offset
-length
-- Throws:
BadLocationException
-
putChild
- Parameters:
regexp
-node
-
-
putChild
- Parameters:
regexps
-node
-
-
putStyle
- Parameters:
regexp
-style
-
-
putStyle
- Parameters:
regexps
-style
-
-
removeChild
- Parameters:
regexp
-
-
removeStyle
- Parameters:
regexp
-
-
removeStyle
- Parameters:
regexps
-
-
setDefaultStyle
-