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.

Constructor Summary

nonassoc_action()
Simple constructor.

Method Summary

boolean
equals(Object other)
Generic equality test.
boolean
equals(parse_action other)
Equality test.
int
hashCode()
Compute a hash code.
int
kind()
Quick access to type of action.
String
toString()
Convert to string.

Constructor Details

nonassoc_action

public nonassoc_action()
            throws internal_error
Simple constructor.

Method Details

equals

public boolean equals(Object other)
Generic equality test.

equals

public boolean equals(parse_action other)
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.