Class AtnManager
java.lang.Object
org.apache.groovy.parser.antlr4.internal.atnmanager.AtnManager
- Direct Known Subclasses:
LexerAtnManager,ParserAtnManager
public abstract class AtnManager extends Object
Manage ATN to avoid memory leak
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classAtnManager.AtnWrapper -
Field Summary
Fields Modifier and Type Field Description static ReentrantReadWriteLock.ReadLockREAD_LOCK -
Constructor Summary
Constructors Constructor Description AtnManager() -
Method Summary
Modifier and Type Method Description abstract org.antlr.v4.runtime.atn.ATNgetATN()protected abstract booleanshouldClearDfaCache()
-
Field Details
-
READ_LOCK
-
-
Constructor Details
-
AtnManager
public AtnManager()
-
-
Method Details
-
getATN
public abstract org.antlr.v4.runtime.atn.ATN getATN() -
shouldClearDfaCache
protected abstract boolean shouldClearDfaCache()
-