| Package | Description |
|---|---|
| me.jaimegarza.syntax.env | |
| me.jaimegarza.syntax.generator | |
| me.jaimegarza.syntax.language | |
| me.jaimegarza.syntax.model.parser |
| Modifier and Type | Method and Description |
|---|---|
<T extends Symbol> |
RuntimeData.findSymbolById(List<T> table,
int id)
Generic routine to find symbols
|
<T extends Symbol> |
RuntimeData.findSymbolByName(List<T> table,
String name)
Generic routine to find symbols
|
<T extends Symbol> |
RuntimeData.findSymbolByToken(List<T> table,
int tokenId)
Generic routine to find symbols
|
| Modifier and Type | Field and Description |
|---|---|
Symbol |
SyntaxCodeParser.StackElement.symbol |
| Modifier and Type | Method and Description |
|---|---|
protected Symbol |
AbstractCodeParser.getSymbolWithName(String name)
Obtain a symbol, either terminal or non terminal, with the given name.
|
| 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 |
|---|---|
protected String |
BaseLanguageSupport.getShortSymbolName(Symbol t) |
| Modifier and Type | Class and Description |
|---|---|
class |
ErrorToken
~pojo class
Represents an error non terminal in the grammar . |
class |
NonTerminal
~pojo class
Represents a non terminal in the grammar (i.e. |
class |
Terminal
~pojo class
Represents a terminal (lexical element) in the grammar (i.e. |
| Modifier and Type | Method and Description |
|---|---|
Symbol |
State.getSymbol() |
Symbol |
RuleItem.getSymbol() |
Symbol |
Action.getSymbol() |
| Modifier and Type | Method and Description |
|---|---|
List<Symbol> |
Type.getUsedBy() |
| Modifier and Type | Method and Description |
|---|---|
void |
Type.addUsage(Symbol symbol) |
void |
State.setSymbol(Symbol symbol) |
void |
RuleItem.setSymbol(Symbol symbol) |
void |
Action.setSymbol(Symbol symbol) |
| Constructor and Description |
|---|
Action(Symbol symbol,
int stateNumber)
Construct an action
|
RuleItem(Symbol symbol)
Construct a rule item with the given symbol
|
State(int id,
int from,
Symbol symbol)
Construct a state
|
Copyright © 2017. All rights reserved.