Package groovy.console.ui.text
Class GroovyFilter
java.lang.Object
javax.swing.text.DocumentFilter
groovy.console.ui.text.StructuredSyntaxDocumentFilter
groovy.console.ui.text.GroovyFilter
public class GroovyFilter extends StructuredSyntaxDocumentFilter
-
Nested Class Summary
Nested classes/interfaces inherited from class groovy.console.ui.text.StructuredSyntaxDocumentFilter
StructuredSyntaxDocumentFilter.LexerNode, StructuredSyntaxDocumentFilter.MultiLineRun
Nested classes/interfaces inherited from class javax.swing.text.DocumentFilter
DocumentFilter.FilterBypass
-
Field Summary
Fields Modifier and Type Field Description static String
BINARY_INTEGER_LITERAL
static String
COMMENT
static String
DECIMAL_FLOATING_POINT_LITERAL
static String
DECIMAL_INTEGER_LITERAL
static String
DIGIT
static String
HEX_INTEGER_LITERAL
static String
HEXADECIMAL_FLOATING_POINT_LITERAL
static String
IDENT
static String
LEFT_PARENS
static String
OCTAL_INTEGER_LITERAL
static String
OPERATION
static String
QUOTES
static String
RESERVED_WORD
static String[]
RESERVED_WORDS
static String
SINGLE_QUOTES
static String
SLASH_SLASH_COMMENT
static String
SLASH_STAR_COMMENT
static String
SLASHY_QUOTES
Fields inherited from class groovy.console.ui.text.StructuredSyntaxDocumentFilter
lexer, mlTextRunSet, styledDocument, TAB_REPLACEMENT
-
Constructor Summary
Constructors Constructor Description GroovyFilter(DefaultStyledDocument doc)
Creates a new instance of GroovyFilter -
Method Summary
Modifier and Type Method Description static void
installAutoTabAction(JTextComponent tComp)
Methods inherited from class groovy.console.ui.text.StructuredSyntaxDocumentFilter
createLexerNode, getRootNode, insertString, parseDocument, remove, replace
-
Field Details
-
COMMENT
- See Also:
- Constant Field Values
-
SLASH_STAR_COMMENT
- See Also:
- Constant Field Values
-
SLASH_SLASH_COMMENT
- See Also:
- Constant Field Values
-
QUOTES
- See Also:
- Constant Field Values
-
SINGLE_QUOTES
- See Also:
- Constant Field Values
-
SLASHY_QUOTES
- See Also:
- Constant Field Values
-
DIGIT
- See Also:
- Constant Field Values
-
DECIMAL_INTEGER_LITERAL
- See Also:
- Constant Field Values
-
HEX_INTEGER_LITERAL
- See Also:
- Constant Field Values
-
OCTAL_INTEGER_LITERAL
- See Also:
- Constant Field Values
-
BINARY_INTEGER_LITERAL
- See Also:
- Constant Field Values
-
DECIMAL_FLOATING_POINT_LITERAL
- See Also:
- Constant Field Values
-
HEXADECIMAL_FLOATING_POINT_LITERAL
- See Also:
- Constant Field Values
-
IDENT
- See Also:
- Constant Field Values
-
OPERATION
- See Also:
- Constant Field Values
-
LEFT_PARENS
- See Also:
- Constant Field Values
-
RESERVED_WORD
- See Also:
- Constant Field Values
-
RESERVED_WORDS
-
-
Constructor Details
-
GroovyFilter
Creates a new instance of GroovyFilter
-
-
Method Details
-
installAutoTabAction
-