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 class
AtnManager.AtnWrapper
-
Field Summary
Fields Modifier and Type Field Description static ReentrantReadWriteLock.ReadLock
READ_LOCK
-
Constructor Summary
Constructors Constructor Description AtnManager()
-
Method Summary
Modifier and Type Method Description abstract org.antlr.v4.runtime.atn.ATN
getATN()
protected abstract boolean
shouldClearDfaCache()
-
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()
-