Package groovy.ui.text
Class StructuredSyntaxDocumentFilter.LexerNode
- java.lang.Object
- 
- groovy.ui.text.StructuredSyntaxDocumentFilter.LexerNode
 
- 
- Enclosing class:
- StructuredSyntaxDocumentFilter
 
 public final class StructuredSyntaxDocumentFilter.LexerNode extends java.lang.Object
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.swing.text.StylegetDefaultStyle()booleanisInitialized()voidparse(java.nio.CharBuffer buffer, int offset, int length)voidputChild(java.lang.String[] regexps, StructuredSyntaxDocumentFilter.LexerNode node)voidputChild(java.lang.String regexp, StructuredSyntaxDocumentFilter.LexerNode node)voidputStyle(java.lang.String[] regexps, javax.swing.text.Style style)voidputStyle(java.lang.String regexp, javax.swing.text.Style style)voidremoveChild(java.lang.String regexp)voidremoveStyle(java.lang.String regexp)voidremoveStyle(java.lang.String[] regexps)voidsetDefaultStyle(javax.swing.text.Style style)
 
- 
- 
- 
Method Detail- 
getDefaultStylepublic javax.swing.text.Style getDefaultStyle() 
 - 
isInitializedpublic boolean isInitialized() - Returns:
- true if initialised
 
 - 
parsepublic void parse(java.nio.CharBuffer buffer, int offset, int length) throws javax.swing.text.BadLocationException- Parameters:
- buffer-
- offset-
- length-
- Throws:
- javax.swing.text.BadLocationException
 
 - 
putChildpublic void putChild(java.lang.String regexp, StructuredSyntaxDocumentFilter.LexerNode node)- Parameters:
- regexp-
- node-
 
 - 
putChildpublic void putChild(java.lang.String[] regexps, StructuredSyntaxDocumentFilter.LexerNode node)- Parameters:
- regexps-
- node-
 
 - 
putStylepublic void putStyle(java.lang.String regexp, javax.swing.text.Style style)- Parameters:
- regexp-
- style-
 
 - 
putStylepublic void putStyle(java.lang.String[] regexps, javax.swing.text.Style style)- Parameters:
- regexps-
- style-
 
 - 
removeChildpublic void removeChild(java.lang.String regexp) - Parameters:
- regexp-
 
 - 
removeStylepublic void removeStyle(java.lang.String regexp) - Parameters:
- regexp-
 
 - 
removeStylepublic void removeStyle(java.lang.String[] regexps) - Parameters:
- regexps-
 
 - 
setDefaultStylepublic void setDefaultStyle(javax.swing.text.Style style) 
 
- 
 
-