/** Generic equality test. */ public boolean equals(Object other) { if (other instanceof parse_action) return equals((parse_action)other); else return false; } /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/
/** Equality test. */ public boolean equals(parse_action other) { /* we match all error actions */ return other != null && other.kind() == ERROR; }
/** Simple constructor. Note: this should not be used until the number of * terminals in the grammar has been established. */ public parse_action_row() { /* make sure the size is set */ if (_size <= 0 ) _size = terminal.number(); /* allocate the array */ under_term = new parse_action[size()]; /* set each element to an error action */ for (int i=0; i<_size; i++) under_term[i] = new parse_action(); }
/** Simple constructor. Note: this should not be used until the number of * terminals in the grammar has been established. */ public parse_action_row() { /* make sure the size is set */ if (_size <= 0 ) _size = terminal.number(); /* allocate the array */ under_term = new parse_action[size()]; /* set each element to an error action */ for (int i=0; i<_size; i++) under_term[i] = new parse_action(); }
/** Equality test. */ public boolean equals(parse_action other) { return other != null && other.kind() == NONASSOC; }
/** Generic equality test. */ public boolean equals(Object other) { if (other instanceof parse_action) return equals((parse_action)other); else return false; } /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/
/** Simple constructor. Note: this should not be used until the number of * terminals in the grammar has been established. */ public parse_action_row() { /* make sure the size is set */ if (_size <= 0 ) _size = terminal.number(); /* allocate the array */ under_term = new parse_action[size()]; /* set each element to an error action */ for (int i=0; i<_size; i++) under_term[i] = new parse_action(); }
/** Equality test. */ public boolean equals(parse_action other) { return other != null && other.kind() == NONASSOC; }
/** Generic equality test. */ public boolean equals(Object other) { if (other instanceof parse_action) return equals((parse_action)other); else return false; } /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/
/** Simple constructor. Note: this should not be used until the number of * terminals in the grammar has been established. */ public parse_action_row() { /* make sure the size is set */ if (_size <= 0 ) _size = terminal.number(); /* allocate the array */ under_term = new parse_action[size()]; /* set each element to an error action */ for (int i=0; i<_size; i++) under_term[i] = new parse_action(); }
/** Equality test. */ public boolean equals(parse_action other) { return other != null && other.kind() == NONASSOC; }
/** Generic equality test. */ public boolean equals(Object other) { if (other instanceof parse_action) return equals((parse_action)other); else return false; } /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/
/** Simple constructor. Note: this should not be used until the number of * terminals in the grammar has been established. */ public parse_action_row() { /* make sure the size is set */ if (_size <= 0 ) _size = terminal.number(); /* allocate the array */ under_term = new parse_action[size()]; /* set each element to an error action */ for (int i=0; i<_size; i++) under_term[i] = new parse_action(); }
/** Equality test. */ public boolean equals(parse_action other) { /* we match all error actions */ return other != null && other.kind() == ERROR; }
/** Generic equality test. */ public boolean equals(Object other) { if (other instanceof parse_action) return equals((parse_action)other); else return false; } /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/
/** Simple constructor. Note: this should not be used until the number of * terminals in the grammar has been established. */ public parse_action_row() { /* make sure the size is set */ if (_size <= 0 ) _size = terminal.number(); /* allocate the array */ under_term = new parse_action[size()]; /* set each element to an error action */ for (int i=0; i<_size; i++) under_term[i] = new parse_action(); }
/** Equality test. */ public boolean equals(parse_action other) { /* we match all error actions */ return other != null && other.kind() == ERROR; }
/** Generic equality test. */ public boolean equals(Object other) { if (other instanceof parse_action) return equals((parse_action)other); else return false; } /*. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*/
/** Simple constructor. Note: this should not be used until the number of * terminals in the grammar has been established. */ public parse_action_row() { /* make sure the size is set */ if (_size <= 0 ) _size = terminal.number(); /* allocate the array */ under_term = new parse_action[size()]; /* set each element to an error action */ for (int i=0; i<_size; i++) under_term[i] = new parse_action(); }
/** Equality test. */ public boolean equals(parse_action other) { /* we match all error actions */ return other != null && other.kind() == ERROR; }