Class ParserAtnManager
- java.lang.Object
-
- org.apache.groovy.parser.antlr4.internal.atnmanager.AtnManager
-
- org.apache.groovy.parser.antlr4.internal.atnmanager.ParserAtnManager
-
public class ParserAtnManager extends AtnManager
Manage ATN for parser to avoid memory leak
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.groovy.parser.antlr4.internal.atnmanager.AtnManager
AtnManager.AtnWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static ParserAtnManager
INSTANCE
-
Fields inherited from class org.apache.groovy.parser.antlr4.internal.atnmanager.AtnManager
READ_LOCK
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.antlr.v4.runtime.atn.ATN
getATN()
protected boolean
shouldClearDfaCache()
-
-
-
Field Detail
-
INSTANCE
public static final ParserAtnManager INSTANCE
-
-
Method Detail
-
getATN
public org.antlr.v4.runtime.atn.ATN getATN()
- Specified by:
getATN
in classAtnManager
-
shouldClearDfaCache
protected boolean shouldClearDfaCache()
- Specified by:
shouldClearDfaCache
in classAtnManager
-
-