Uses of Class
org.antlr.analysis.NFAContext
Packages that use NFAContext
-
Uses of NFAContext in org.antlr.analysis
Fields in org.antlr.analysis declared as NFAContextModifier and TypeFieldDescriptionNFAConfiguration.context
What is the stack of rule invocations that got us to state?protected NFAContext[]
NFAToDFAConverter.contextTrees
While converting NFA, we must track states that reference other rule's NFAs so we know what to do at the end of a rule.NFAContext.parent
Methods in org.antlr.analysis with parameters of type NFAContextModifier and TypeMethodDescriptionDFAState.addNFAConfiguration
(NFAState state, int alt, NFAContext context, SemanticContext semanticContext) void
NFAToDFAConverter.closure
(NFAState p, int alt, NFAContext context, SemanticContext semanticContext, DFAState d, boolean collectPredicates) Where can we get from NFA state p traversing only epsilon transitions? Add new NFA states + context to DFA state d.boolean
NFAContext.conflictsWith
(NFAContext other) Two contexts conflict() if they are equals() or one is a stack suffix of the other.protected boolean
NFAContext.suffix
(NFAContext other) [$] suffix any context [21 $] suffix [21 12 $] [21 12 $] suffix [21 $] [21 18 $] suffix [21 18 12 9 $] [21 18 12 9 $] suffix [21 18 $] [21 12 $] not suffix [21 9 $] Example "[21 $] suffix [21 12 $]" means: rule r invoked current rule from state 21.Constructors in org.antlr.analysis with parameters of type NFAContextModifierConstructorDescriptionNFAConfiguration
(int state, int alt, NFAContext context, SemanticContext semanticContext) NFAContext
(NFAContext parent, NFAState invokingState)