Class Parser.LR.Parser()->Item
- Description
An LR(0) item, a partially parsed rule.
- Variable counter
int Parser.LR.Parser.Item.counter
- Description
Depth counter (used when compiling).
- Variable direct_lookahead
multiset(string) Parser.LR.Parser.Item.direct_lookahead
- Description
Look-ahead set for this item.
- Variable error_lookahead
multiset(string) Parser.LR.Parser.Item.error_lookahead
- Description
Look-ahead set used for detecting conflicts
- Variable item_id
int Parser.LR.Parser.Item.item_id
- Description
Used to identify the item. Equal to r->number + offset.
- Variable master_item
Item Parser.LR.Parser.Item.master_item
- Description
Item representing this one (used for shifts).
- Variable next_state
Kernel Parser.LR.Parser.Item.next_state
- Description
The state we will get if we shift according to this rule
- Variable number
int Parser.LR.Parser.Item.number
- Description
Item identification number (used when compiling).
- Variable offset
int Parser.LR.Parser.Item.offset
- Description
How long into the rule the parsing has come.
- Variable r
Rule Parser.LR.Parser.Item.r
- Description
The rule
- Variable relation
multiset(Item) Parser.LR.Parser.Item.relation
- Description
Relation to other items (used when compiling).