/** Convert to a string. */ public String toString() { return name(); }
/** Convert to a string. */ public String toString() { return name(); }
/** Convert to a string. */ public String toString() { return name(); }
/** Convert to a string. */ public String toString() { return name(); }
/** Convert to a string. */ public String toString() { return name(); }
/** Convert to a string. */ public String toString() { return name(); }
/** Determine if the set contains a particular symbol. * @param sym the symbol we are looking for. */ public boolean contains(symbol sym) {return _all.containsKey(sym.name());}
/** Remove a single symbol if it is in the set. * @param sym the symbol we are removing. */ public void remove(symbol sym) throws internal_error { not_null(sym); _all.remove(sym.name()); }
/** Remove a single symbol if it is in the set. * @param sym the symbol we are removing. */ public void remove(symbol sym) throws internal_error { not_null(sym); _all.remove(sym.name()); }
/** Remove a single symbol if it is in the set. * @param sym the symbol we are removing. */ public void remove(symbol sym) throws internal_error { not_null(sym); _all.remove(sym.name()); };
/** Remove a single symbol if it is in the set. * @param sym the symbol we are removing. */ public void remove(symbol sym) throws internal_error { not_null(sym); _all.remove(sym.name()); }
/** Convert to a string. */ public String toString() { String result; result = "transition on " + on_symbol().name() + " to state ["; result += _to_state.index(); result += "]"; return result; }
/** Convert to a string. */ public String toString() { String result; result = "transition on " + on_symbol().name() + " to state ["; result += _to_state.index(); result += "]"; return result; }
/** Convert to a string. */ public String toString() { String result; result = "transition on " + on_symbol().name() + " to state ["; result += _to_state.index(); result += "]"; return result; }
/** Convert to a string. */ public String toString() { String result; result = "transition on " + on_symbol().name() + " to state ["; result += _to_state.index(); result += "]"; return result; }
/** Convert to a string. */ public String toString() { String result; result = "transition on " + on_symbol().name() + " to state ["; result += _to_state.index(); result += "]"; return result; }
/** Convert to a simpler string. */ public String to_simple_string() throws internal_error { String result; result = ((lhs() != null) ? lhs().the_symbol().name() : "NULL_LHS"); result += " ::= "; for (int i = 0; i < rhs_length(); i++) if (!rhs(i).is_action()) result += ((symbol_part)rhs(i)).the_symbol().name() + " "; return result; }
/** Convert to a simpler string. */ public String to_simple_string() throws internal_error { String result; result = ((lhs() != null) ? lhs().the_symbol().name() : "NULL_LHS"); result += " ::= "; for (int i = 0; i < rhs_length(); i++) if (!rhs(i).is_action()) result += ((symbol_part)rhs(i)).the_symbol().name() + " "; return result; }
/** Convert to a simpler string. */ public String to_simple_string() throws internal_error { String result; result = ((lhs() != null) ? lhs().the_symbol().name() : "NULL_LHS"); result += " ::= "; for (int i = 0; i < rhs_length(); i++) if (!rhs(i).is_action()) result += ((symbol_part)rhs(i)).the_symbol().name() + " "; return result; }
/** Convert to a simpler string. */ public String to_simple_string() throws internal_error { String result; result = ((lhs() != null) ? lhs().the_symbol().name() : "NULL_LHS"); result += " ::= "; for (int i = 0; i < rhs_length(); i++) if (!rhs(i).is_action()) result += ((symbol_part)rhs(i)).the_symbol().name() + " "; return result; }