Class PureNFATransitionGenerator
java.lang.Object
com.oracle.truffle.regex.tregex.parser.ast.visitors.NFATraversalRegexASTVisitor
com.oracle.truffle.regex.tregex.nfa.PureNFATransitionGenerator
Calculates the successor transitions of a given
PureNFAState.-
Field Summary
Fields inherited from class com.oracle.truffle.regex.tregex.parser.ast.visitors.NFATraversalRegexASTVisitor
ast -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voidenterLookAhead(LookAheadAssertion assertion) voidgenerateTransitions(PureNFAState state) protected booleanprotected voidleaveLookAhead(LookAheadAssertion assertion) protected voidvisit(RegexASTNode target) Visit the next successor found.Methods inherited from class com.oracle.truffle.regex.tregex.parser.ast.visitors.NFATraversalRegexASTVisitor
calcTransitionGuardsResult, canTraverseCaret, caretsOnPath, dollarsOnPath, dumpTransitionGuards, getCurrentMatchedConditionGroups, getGroupBoundaries, getMatchedConditionGroups, getTransitionGuardsOnPath, getTraversableLookBehindAssertions, hasTransitionGuards, isReverse, run, setCanTraverseCaret, setMatchedConditionGroups, setReverse, setTraversableLookBehindAssertions
-
Constructor Details
-
PureNFATransitionGenerator
-
-
Method Details
-
generateTransitions
-
visit
Description copied from class:NFATraversalRegexASTVisitorVisit the next successor found.- Specified by:
visitin classNFATraversalRegexASTVisitor
-
enterLookAhead
- Specified by:
enterLookAheadin classNFATraversalRegexASTVisitor
-
leaveLookAhead
- Specified by:
leaveLookAheadin classNFATraversalRegexASTVisitor
-
isBuildingDFA
protected boolean isBuildingDFA()- Specified by:
isBuildingDFAin classNFATraversalRegexASTVisitor
-
canPruneAfterUnconditionalFinalState
protected boolean canPruneAfterUnconditionalFinalState()- Specified by:
canPruneAfterUnconditionalFinalStatein classNFATraversalRegexASTVisitor
-