[Java] Class StructuredSyntaxDocumentFilter.LexerNode
- groovy.ui.text.StructuredSyntaxDocumentFilter.LexerNode
public final class StructuredSyntaxDocumentFilter.LexerNode
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
public Style |
getDefaultStyle() | |
public boolean |
isInitialized()
| |
public void |
parse(CharBuffer buffer, int offset, int length)
| |
public void |
putChild(String regexp, LexerNode node)
| |
public void |
putChild(String[] regexps, LexerNode node)
| |
public void |
putStyle(String regexp, Style style)
| |
public void |
putStyle(String[] regexps, Style style)
| |
public void |
removeChild(String regexp)
| |
public void |
removeStyle(String regexp)
| |
public void |
removeStyle(String[] regexps)
| |
public void |
setDefaultStyle(Style style) |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Method Detail
public Style getDefaultStyle()
public boolean isInitialized()
- Returns:
- true if initialised
public void parse(CharBuffer buffer, int offset, int length)
- throws:
- BadLocationException
- Parameters:
- buffer
- offset
- length
public void putChild(String regexp, LexerNode node)
- Parameters:
- regexp
- node
public void putChild(String[] regexps, LexerNode node)
- Parameters:
- regexps
- node
public void putStyle(String regexp, Style style)
- Parameters:
- regexp
- style
public void putStyle(String[] regexps, Style style)
- Parameters:
- regexps
- style
public void removeChild(String regexp)
- Parameters:
- regexp
public void removeStyle(String regexp)
- Parameters:
- regexp
public void removeStyle(String[] regexps)
- Parameters:
- regexps
public void setDefaultStyle(Style style)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/ui/text/StructuredSyntaxDocumentFilter.LexerNode.html