org.waxeye.parser
Class State<E extends java.lang.Enum<?>>

java.lang.Object
  extended by org.waxeye.parser.State<E>
Type Parameters:
E - The node types for the AST.

public final class State<E extends java.lang.Enum<?>>
extends java.lang.Object

An automaton state.

Author:
Orlando Hill

Constructor Summary
State(java.util.List<Edge<E>> edges, boolean match)
          Creates a new State.
 
Method Summary
 java.util.List<Edge<E>> getEdges()
          Returns the edges.
 boolean isMatch()
          Returns the match.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

State

public State(java.util.List<Edge<E>> edges,
             boolean match)
Creates a new State.

Parameters:
edges - The edges of the state.
match - Whether the state is a matching state.
Method Detail

getEdges

public java.util.List<Edge<E>> getEdges()
Returns the edges.

Returns:
Returns the edges.

isMatch

public boolean isMatch()
Returns the match.

Returns:
Returns the match.


Waxeye Parser Generator