java_cup

Class nonassoc_action

public class nonassoc_action extends parse_action

This class represents a shift/reduce nonassociative error within the parse table. If action_table element is assign to type nonassoc_action, it cannot be changed, and signifies that there is a conflict between shifting and reducing a production and a terminal that shouldn't be next to each other.

Version: last updated: 7/2/96

Author: Frank Flannery

Constructor Summary
nonassoc_action()
Simple constructor.
Method Summary
booleanequals(parse_action other)
Equality test.
booleanequals(Object other)
Generic equality test.
inthashCode()
Compute a hash code.
intkind()
Quick access to type of action.
StringtoString()
Convert to string.

Constructor Detail

nonassoc_action

public nonassoc_action()
Simple constructor.

Method Detail

equals

public boolean equals(parse_action other)
Equality test.

equals

public boolean equals(Object other)
Generic equality test.

hashCode

public int hashCode()
Compute a hash code.

kind

public int kind()
Quick access to type of action.

toString

public String toString()
Convert to string.