public final class NFAStateTransition extends Object implements AbstractTransition<NFAState,NFAStateTransition>, JsonConvertible
| Constructor and Description |
|---|
NFAStateTransition(short id,
NFAState source,
NFAState target,
CodePointSet codePointSet,
GroupBoundaries groupBoundaries) |
| Modifier and Type | Method and Description |
|---|---|
CodePointSet |
getCodePointSet() |
GroupBoundaries |
getGroupBoundaries()
groups entered and exited by this transition.
|
int |
getId() |
NFAState |
getSource() |
NFAState |
getSource(boolean forward) |
NFAState |
getTarget() |
void |
setSource(NFAState source) |
JsonValue |
toJson() |
JsonValue |
toJson(boolean forward) |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTargetpublic NFAStateTransition(short id,
NFAState source,
NFAState target,
CodePointSet codePointSet,
GroupBoundaries groupBoundaries)
public int getId()
getId in interface AbstractTransition<NFAState,NFAStateTransition>public NFAState getSource()
getSource in interface AbstractTransition<NFAState,NFAStateTransition>public void setSource(NFAState source)
public NFAState getTarget()
getTarget in interface AbstractTransition<NFAState,NFAStateTransition>public NFAState getSource(boolean forward)
public CodePointSet getCodePointSet()
public GroupBoundaries getGroupBoundaries()
public JsonValue toJson()
toJson in interface JsonConvertiblepublic JsonValue toJson(boolean forward)