Home
last modified time | relevance | path

Searched refs:terminal (Results 1 – 15 of 15) sorted by relevance

/cts/tools/dasm/src/java_cup/
Dterminal.java15 public class terminal extends symbol { class
25 public terminal(String nm, String tp) in terminal() method in terminal
51 public terminal(String nm) in terminal() method in terminal
69 public static terminal find(String with_name) in find()
74 return (terminal)_all.get(with_name); in find()
83 public static terminal find(int indx) in find()
87 return (terminal)_all_by_index.get(the_indx); in find()
103 public static final terminal EOF = new terminal("EOF");
108 public static final terminal error = new terminal("error");
Dterminal_set.java20 _elements = new BitSet(terminal.number()); in terminal_set()
76 public boolean contains(terminal sym) in contains()
131 public boolean add(terminal sym) in add()
153 public void remove(terminal sym) in remove()
233 for (int t = 0; t < terminal.number(); t++) in toString()
242 result += terminal.find(t).name(); in toString()
Dparser.cup35 These sections declare all the terminal and non terminal symbols
128 /** left hand side non terminal of the current production */
162 terminal java_cup.runtime.token
167 terminal java_cup.runtime.str_token ID, CODE_STRING;
169 non terminal java_cup.runtime.symbol
177 non terminal java_cup.runtime.str_token nt_id, symbol_id, label_id, opt_label;
187 /* declare "error" as a terminal */
188 symbols.put("error", new symbol_part(terminal.error));
190 /* declare start non terminal */
387 /* verify that the name has been declared as a non terminal */
[all …]
Dlalr_state.java294 itm.lookahead().add(terminal.EOF); in build_machine()
476 for (int t = 0; t < terminal.number(); t++) in build_table_entries()
600 if (itm.lookahead().contains((terminal)shift_sym)) in report_conflicts()
602 conflict_set.add((terminal)shift_sym); in report_conflicts()
608 for (int t = 0; t < terminal.number(); t++) in report_conflicts()
633 for (int t = 0; t < terminal.number(); t++) in report_reduce_reduce()
638 System.err.print(terminal.find(t).name()); in report_reduce_reduce()
690 System.err.println(" under symbol "+ terminal.find(conflict_sym).name()); in report_shift_reduce()
Dlalr_item.java201 result.add((terminal)sym); in calc_lookahead()
310 for (int t = 0; t < terminal.number(); t++) in toString()
312 result += terminal.find(t).name() + " "; in toString()
DMain.java452 terminal term; in check_unused()
456 for (Enumeration t = terminal.all(); t.hasMoreElements(); ) in check_unused()
458 term = (terminal)t.nextElement(); in check_unused()
461 if (term == terminal.EOF) continue; in check_unused()
464 if (term == terminal.error) continue; in check_unused()
631 System.err.print(" " + terminal.number() + " terminal" + in emit_summary()
632 plural(terminal.number()) + ", "); in emit_summary()
785 for (t = terminal.all(), cnt=0; t.hasMoreElements(); cnt++)
787 System.err.print(((terminal)t.nextElement()).name() + " ");
Dparse_action_row.java19 if (_size <= 0 ) _size = terminal.number(); in parse_action_row()
Demit.java244 terminal term; in symbols()
267 for (Enumeration e = terminal.all(); e.hasMoreElements(); ) in symbols()
269 term = (terminal)e.nextElement(); in symbols()
707 out.println(" public int EOF_sym() {return " + terminal.EOF.index() + in parser()
711 out.println(" public int error_sym() {return " + terminal.error.index() + in parser()
Dparser.java516 …new symbol_part(new terminal((/*term_id*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-0… in CUP$do_action()
649 add_rhs_part(new symbol_part(terminal.EOF)); in CUP$do_action()
776 add_rhs_part(new symbol_part(terminal.EOF)); in CUP$do_action()
1104 symbols.put("error", new symbol_part(terminal.error)); in CUP$do_action()
Dproduction.java690 _first_set.add((terminal)sym); in check_first_set()
/cts/tools/dasm/src/dasm/
Dparser.cup60 terminal token
86 terminal str_token Str, Word, Insn;
87 terminal int_token Int;
88 terminal number_token Num;
89 terminal relative_number_token Relative;
91 non terminal str_token classname, inner_name, inner_inner, inner_outer, optional_signature;
92 non terminal variant_token optional_default, item, any_item;
95 non terminal symbol
122 non terminal int_token access;
/cts/tools/dasm/etc/
Djava_cup.jarMETA-INF/ META-INF/MANIFEST.MF java_cup/ java_cup/action_part.class action_part ...
Djava_cup-new.jarMETA-INF/ META-INF/MANIFEST.MF java_cup/ java_cup/runtime/ java_cup/ ...
Djava_cup.jar.oldMETA-INF/ META-INF/MANIFEST.MF java_cup/ java_cup/action_part.class action_part ...
/cts/tools/signature-tools/lib/
Dantlr-2.7.7.jarMETA-INF/ META-INF/MANIFEST.MF antlr/ antlr/ActionElement.class ActionElement ...