@CompileStatic class CurlyCountingGroovyLexer extends GroovyLangLexer
patching GroovyLangLexer to get access to Paren level
| Constructor and description | 
|---|
                                protected CurlyCountingGroovyLexer(Reader reader) | 
                        
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            int | 
                            countCurlyLevel() | 
                        
 | 
                            static CurlyCountingGroovyLexer | 
                            createGroovyLexer(String src) | 
                        
 | 
                            protected void | 
                            enterParenCallback(String text) | 
                        
 | 
                            protected void | 
                            exitParenCallback(String text) | 
                        
 | 
                            int | 
                            getCurlyLevel() | 
                        
 | 
                            List<Token> | 
                            toList() | 
                        
| Methods inherited from class | Name | 
|---|---|
class GroovyLangLexer | 
                            recover, rollbackOneChar | 
                        
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.