Class StructuredSyntaxDocumentFilter.LexerNode

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

public final class StructuredSyntaxDocumentFilter.LexerNode extends Object
  • Method Details

    • getDefaultStyle

      public Style getDefaultStyle()
    • isInitialized

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

      public void parse(CharBuffer buffer, int offset, int length) throws BadLocationException
      Parameters:
      buffer -
      offset -
      length -
      Throws:
      BadLocationException
    • putChild

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

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

      public void putStyle(String regexp, Style style)
      Parameters:
      regexp -
      style -
    • putStyle

      public void putStyle(String[] regexps, Style style)
      Parameters:
      regexps -
      style -
    • removeChild

      public void removeChild(String regexp)
      Parameters:
      regexp -
    • removeStyle

      public void removeStyle(String regexp)
      Parameters:
      regexp -
    • removeStyle

      public void removeStyle(String[] regexps)
      Parameters:
      regexps -
    • setDefaultStyle

      public void setDefaultStyle(Style style)