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