Class AtnManager
java.lang.Object
org.apache.groovy.parser.antlr4.internal.atnmanager.AtnManager
- Direct Known Subclasses:
- LexerAtnManager,- ParserAtnManager
public abstract class AtnManager
extends java.lang.Object
Manage ATN to avoid memory leak
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected classAtnManager.AtnWrapper
- 
Field SummaryFields Modifier and Type Field Description static java.util.concurrent.locks.ReentrantReadWriteLock.ReadLockREAD_LOCK
- 
Constructor SummaryConstructors Constructor Description AtnManager()
- 
Method SummaryModifier and Type Method Description abstract org.antlr.v4.runtime.atn.ATNgetATN()protected abstract booleanshouldClearDfaCache()Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- 
Field Details- 
READ_LOCKpublic static final java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock READ_LOCK
 
- 
- 
Constructor Details- 
AtnManagerpublic AtnManager()
 
- 
- 
Method Details- 
getATNpublic abstract org.antlr.v4.runtime.atn.ATN getATN()
- 
shouldClearDfaCacheprotected abstract boolean shouldClearDfaCache()
 
-