StructuredSyntaxDocumentFilter.LexerNode (groovy 2.4.14 API)
Date: 2018-02-24

Package: groovy.ui.text

## [Java] Class LexerNode

- groovy.ui.text.StructuredSyntaxDocumentFilter.LexerNode

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `Style` | `getDefaultStyle()`
    `` | `boolean` | `isInitialized()` @return true if initialised
    `` | `void` | `parse(CharBuffer buffer, int offset, int length)` @param buffer
    `` | `void` | `putChild(String regexp, LexerNode node)` @param regexp
    `` | `void` | `putChild(String[] regexps, LexerNode node)` @param regexps
    `` | `void` | `putStyle(String regexp, Style style)` @param regexp
    `` | `void` | `putStyle(String[] regexps, Style style)` @param regexps
    `` | `void` | `removeChild(String regexp)` @param regexp
    `` | `void` | `removeStyle(String regexp)` @param regexp
    `` | `void` | `removeStyle(String[] regexps)` @param regexps
    `` | `void` | `setDefaultStyle(Style style)`

  - ### Inherited Methods Summary

    Inherited Methods
    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)