public class reduce_action extends parse_action
Modifier and Type | Field and Description |
---|---|
protected production |
_reduce_with
The production we reduce with.
|
ERROR, NONASSOC, REDUCE, SHIFT
Constructor and Description |
---|
reduce_action(production prod)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Generic equality test.
|
boolean |
equals(reduce_action other)
Equality test.
|
int |
hashCode()
Compute a hash code.
|
int |
kind()
Quick access to type of action.
|
production |
reduce_with()
The production we reduce with.
|
String |
toString()
Convert to string.
|
equals
protected production _reduce_with
public reduce_action(production prod) throws internal_error
prod
- the production this action reduces with.internal_error
public production reduce_with()
public int kind()
kind
in class parse_action
public boolean equals(reduce_action other)
public boolean equals(Object other)
equals
in class parse_action
public int hashCode()
hashCode
in class parse_action
public String toString()
toString
in class parse_action
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.