| Package | Description |
|---|---|
| me.jaimegarza.syntax.algorithm | |
| me.jaimegarza.syntax.env | |
| me.jaimegarza.syntax.generator | |
| me.jaimegarza.syntax.model.parser |
| Modifier and Type | Method and Description |
|---|---|
LookAhead |
SlrAlgorithmicSupport.computeLookAhead(Rule rule,
RuleItem item) |
LookAhead |
LalrAlgorithmicSupport.computeLookAhead(Rule rule,
RuleItem item) |
LookAhead |
AlgorithmicSupport.computeLookAhead(Rule rule,
RuleItem item)
Compute the lookahead set of a rule on a specific item
|
| Modifier and Type | Field and Description |
|---|---|
List<RuleItem> |
RuntimeData.currentRuleItems
Temporary space for rule items before assignment
|
| Modifier and Type | Method and Description |
|---|---|
protected RuleItem |
AbstractCodeParser.newItem(Symbol elem)
new rule item with the given symbol
|
| Modifier and Type | Method and Description |
|---|---|
RuleItem |
Dot.getItem() |
RuleItem |
Rule.getItem(int index) |
RuleItem |
RuleItem.next()
Move to the next item in the rule
|
RuleItem |
Dot.nextItem()
Given a dot, move the dot to the right of the pointed symbol
It does this by going to the rule and finding the rule item i+1 from the rule item i. |
| Modifier and Type | Method and Description |
|---|---|
List<RuleItem> |
Rule.getItems() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
RuleItem.equals(RuleItem a,
RuleItem b)
Utility method to compare two items, accounting for nulls
|
int |
Rule.exactIndexOf(RuleItem item) |
void |
Dot.setItem(RuleItem item) |
| Constructor and Description |
|---|
Dot(State state,
Rule rule,
RuleItem item)
Construct a dot
|
Copyright © 2017. All rights reserved.