NfaState Class

Definition

Line 27 of System.RegularExpressions/Nfa.cm

Constructors & Destructor

public NfaState()

Member Functions

public bool Accept() const
public void AddEdge(const NfaEdge& edge)
public const List<NfaEdge>& Edges() const
public List<NfaState*> Next(uchar c) const
public void SetAccept(bool accept_)
public void SetEdges(const List<NfaEdge>& edges_)

Member Variables

private bool accept
private List<NfaEdge> edges

Constructor& Destructor Details

NfaState Constructor

public NfaState()

Definition
Line 29 of System.RegularExpressions/Nfa.cm


Member Function Details

Accept Member Function

public bool Accept()

Definition
Line 33 of System.RegularExpressions/Nfa.cm


AddEdge Member Function

public void AddEdge(const NfaEdge& edge)

Definition
Line 49 of System.RegularExpressions/Nfa.cm


Edges Member Function

public const List<NfaEdge>& Edges()

Definition
Line 41 of System.RegularExpressions/Nfa.cm


Next Member Function

public List<NfaState*> Next(uchar c)

Definition
Line 53 of System.RegularExpressions/Nfa.cm


SetAccept Member Function

public void SetAccept(bool accept_)

Definition
Line 37 of System.RegularExpressions/Nfa.cm


SetEdges Member Function

public void SetEdges(const List<NfaEdge>& edges_)

Definition
Line 45 of System.RegularExpressions/Nfa.cm