Home | History | Annotate | Download | only in java_cup

Lines Matching refs:symbol

10  * @see     java_cup.symbol
62 /** Determine if the set contains a particular symbol.
63 * @param sym the symbol we are looking for.
65 public boolean contains(symbol sym) {return _all.containsKey(sym.name());};
78 if (!other.contains((symbol)e.nextElement()))
98 /** Add a single symbol to the set.
99 * @param sym the symbol we are adding.
102 public boolean add(symbol sym) throws internal_error
117 /** Remove a single symbol if it is in the set.
118 * @param sym the symbol we are removing.
120 public void remove(symbol sym) throws internal_error
140 result = add((symbol)e.nextElement()) || result;
156 remove((symbol)e.nextElement());
198 result ^= ((symbol)e.nextElement()).hashCode();
220 result += ((symbol)e.nextElement()).name();