Uses of Class
java_cup.terminal_set
Packages that use terminal_set
-
Uses of terminal_set in java_cup
Fields in java_cup declared as terminal_setModifier and TypeFieldDescriptionprotected terminal_set
non_terminal._first_set
First set for this non-terminal.protected terminal_set
production._first_set
First set of the production.protected terminal_set
lalr_item._lookahead
The lookahead symbols of the item.static final terminal_set
terminal_set.EMPTY
Constant for the empty set.Methods in java_cup that return terminal_setModifier and TypeMethodDescriptionlalr_item.calc_lookahead
(terminal_set lookahead_after) Calculate lookahead representing symbols that could appear after the symbol that the dot is currently in front of.production.check_first_set()
Update (and return) the first set based on current NT firsts.non_terminal.first_set()
First set for this non-terminal.production.first_set()
First set of the production.lalr_item.lookahead()
The lookahead symbols of the item.Methods in java_cup with parameters of type terminal_setModifier and TypeMethodDescriptionboolean
terminal_set.add
(terminal_set other) Add (union) in a complete set.lalr_item.calc_lookahead
(terminal_set lookahead_after) Calculate lookahead representing symbols that could appear after the symbol that the dot is currently in front of.boolean
terminal_set.equals
(terminal_set other) Equality comparison.boolean
terminal_set.intersects
(terminal_set other) Determine if this set intersects another.boolean
terminal_set.is_subset_of
(terminal_set other) Determine if this set is an (improper) subset of another.boolean
terminal_set.is_superset_of
(terminal_set other) Determine if this set is an (improper) superset of another.void
lalr_item.propagate_lookaheads
(terminal_set incoming) Propagate incoming lookaheads through this item to others need to be changed.protected void
lalr_state.report_conflicts
(terminal_set conflict_set) Produce warning messages for all conflicts found in this state.Constructors in java_cup with parameters of type terminal_setModifierConstructorDescriptionlalr_item
(production prod, int pos, terminal_set look) Full constructor.lalr_item
(production prod, terminal_set look) Constructor with default position (dot at start).terminal_set
(terminal_set other) Constructor for cloning from another set.