public class parse_action
extends java.lang.Object
reduce_action
,
shift_action
Modifier and Type | Field and Description |
---|---|
static int |
ERROR
Constant for action type -- error action.
|
static int |
NONASSOC
Constants for action type -- reduce action.
|
static int |
REDUCE
Constants for action type -- reduce action.
|
static int |
SHIFT
Constant for action type -- shift action.
|
Constructor and Description |
---|
parse_action()
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Generic equality test.
|
boolean |
equals(parse_action other)
Equality test.
|
int |
hashCode()
Compute a hash code.
|
int |
kind()
Quick access to the type -- base class defaults to error.
|
java.lang.String |
toString()
Convert to string.
|
public static final int ERROR
public static final int SHIFT
public static final int REDUCE
public static final int NONASSOC
public int kind()
public boolean equals(parse_action other)
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object