Package groovy.console.ui.text
Class StructuredSyntaxDocumentFilter.LexerNode
java.lang.Object
groovy.console.ui.text.StructuredSyntaxDocumentFilter.LexerNode
- Enclosing class:
- StructuredSyntaxDocumentFilter
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
parse
(CharBuffer buffer, int offset, int length) void
putChild
(String[] regexps, StructuredSyntaxDocumentFilter.LexerNode node) void
putChild
(String regexp, StructuredSyntaxDocumentFilter.LexerNode node) void
void
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
-