Class StructuredSyntaxDocumentFilter.LexerNode

java.lang.Object
groovy.ui.text.StructuredSyntaxDocumentFilter.LexerNode
Enclosing class:
StructuredSyntaxDocumentFilter

public final class StructuredSyntaxDocumentFilter.LexerNode
extends java.lang.Object
  • Method Details

    • getDefaultStyle

      public javax.swing.text.Style getDefaultStyle()
    • isInitialized

      public boolean isInitialized()
      Returns:
      true if initialised
    • parse

      public void parse​(java.nio.CharBuffer buffer, int offset, int length) throws javax.swing.text.BadLocationException
      Parameters:
      buffer -
      offset -
      length -
      Throws:
      javax.swing.text.BadLocationException
    • putChild

      public void putChild​(java.lang.String regexp, StructuredSyntaxDocumentFilter.LexerNode node)
      Parameters:
      regexp -
      node -
    • putChild

      public void putChild​(java.lang.String[] regexps, StructuredSyntaxDocumentFilter.LexerNode node)
      Parameters:
      regexps -
      node -
    • putStyle

      public void putStyle​(java.lang.String regexp, javax.swing.text.Style style)
      Parameters:
      regexp -
      style -
    • putStyle

      public void putStyle​(java.lang.String[] regexps, javax.swing.text.Style style)
      Parameters:
      regexps -
      style -
    • removeChild

      public void removeChild​(java.lang.String regexp)
      Parameters:
      regexp -
    • removeStyle

      public void removeStyle​(java.lang.String regexp)
      Parameters:
      regexp -
    • removeStyle

      public void removeStyle​(java.lang.String[] regexps)
      Parameters:
      regexps -
    • setDefaultStyle

      public void setDefaultStyle​(javax.swing.text.Style style)