org.cogroo.tools.checker.rules.applier
Class AcceptState
java.lang.Object
org.cogroo.tools.checker.rules.applier.State
org.cogroo.tools.checker.rules.applier.AcceptState
- All Implemented Interfaces:
- Serializable
public class AcceptState
- extends State
An accept state, that is part of rules DFA. The accept state holds the rule
it accepts.
- Version:
- $Id: AcceptState.java 186 2007-03-07 01:08:07Z colen $
- Author:
- Marcelo Suzumura, William Colen
- See Also:
- Serialized Form
AcceptState
public AcceptState(int name,
PatternElement element,
Rule rule)
- Package private constructor.
- Parameters:
name
- the integer that represents the name of the stateelement
- the element of the rulerule
- the rule that is accepted by this state
getRule
public Rule getRule()
- Returns:
- the rule that is accepted by this state
Copyright © 2012-2013 CoGrOO. All Rights Reserved.