public abstract class AbstractCachingNFABuilder<S,T> extends java.lang.Object implements IGrammarNFAProvider.NFABuilder<S,T>
Constructor and Description |
---|
AbstractCachingNFABuilder() |
Modifier and Type | Method and Description |
---|---|
protected abstract S |
createState(AbstractElement ele) |
protected abstract T |
createTransition(S source,
S target,
boolean isRuleCall,
AbstractElement loopCenter) |
boolean |
filter(AbstractElement ele) |
S |
getState(AbstractElement ele) |
T |
getTransition(S source,
S target,
boolean isRuleCall,
AbstractElement loopCenter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDirection
protected abstract S createState(AbstractElement ele)
protected abstract T createTransition(S source, S target, boolean isRuleCall, AbstractElement loopCenter)
public boolean filter(AbstractElement ele)
filter
in interface IGrammarNFAProvider.NFABuilder<S,T>
public final S getState(AbstractElement ele)
getState
in interface IGrammarNFAProvider.NFABuilder<S,T>
public final T getTransition(S source, S target, boolean isRuleCall, AbstractElement loopCenter)
getTransition
in interface IGrammarNFAProvider.NFABuilder<S,T>