JFlex
public final class Action extends Object
| Constructor Summary | |
|---|---|
| Action(String content, int priority)
Creates a new Action object with specified content and line number. | |
| Action(String content, int priority, boolean isLookAction) | |
| Method Summary | |
|---|---|
| Action | getHigherPriority(Action other)
Compares the priority value of this Action with the specified action.
|
| int | hashCode()
Returns a hash value for this Action |
| boolean | isEquiv(Action a)
Returns true iff the parameter is an
Action with the same content as this one.
|
| String | toString()
Returns the String representation of this object. |
Parameters: other the other Action to compare this Action with.
Returns: this Action if it has higher priority - the specified one, if not.
true iff the parameter is an
Action with the same content as this one.
Parameters: obj the object to compare this Action with