Uses of Class
java_cup.lalr_item
Packages that use lalr_item
-
Uses of lalr_item in java_cup
Modifier and TypeMethodDescriptionAdd a singleton item, merging lookahead sets if the item is already part of the set.Return the item in the set matching a particular item (or null if not found)lalr_item_set.get_one()
Remove and return one item from the set (done in hash order).lalr_item.shift()
Produce the new lalr_item that results from shifting the dot one position to the right.Modifier and TypeMethodDescriptionAdd a singleton item, merging lookahead sets if the item is already part of the set.void
lalr_item.add_propagate
(lalr_item prop_to) Add a new item to the set of items we propagate to.boolean
Does the set contain a particular item?boolean
Equality comparison -- here we only require the cores to be equal since we need to do sets of items based only on core equality (ignoring lookahead sets).Return the item in the set matching a particular item (or null if not found)void
Remove a single item if it is in the set.protected void
lalr_state.report_reduce_reduce
(lalr_item itm1, lalr_item itm2) Produce a warning message for one reduce/reduce conflict.protected void
lalr_state.report_shift_reduce
(lalr_item red_itm, int conflict_sym) Produce a warning message for one shift/reduce conflict.