Modifier and Type | Class and Description |
---|---|
class |
non_terminal
This class represents a non-terminal symbol in the grammar.
|
class |
terminal
This class represents a terminal symbol in the grammar.
|
Modifier and Type | Field and Description |
---|---|
protected symbol |
lalr_transition._on_symbol
The symbol we make the transition on.
|
protected symbol |
lr_item_core._symbol_after_dot
Cache of symbol after the dot.
|
protected symbol |
symbol_part._the_symbol
The symbol that this part is made up of.
|
Modifier and Type | Field and Description |
---|---|
protected Hashtable<String,symbol> |
symbol_set._all
A hash table to hold the set.
|
Modifier and Type | Method and Description |
---|---|
symbol |
lalr_transition.on_symbol()
The symbol we make the transition on.
|
symbol |
lr_item_core.symbol_after_dot()
Return the symbol after the dot.
|
symbol |
symbol_part.the_symbol()
The symbol that this part is made up of.
|
Modifier and Type | Method and Description |
---|---|
Enumeration<symbol> |
symbol_set.all()
Access to all elements of the set.
|
Modifier and Type | Method and Description |
---|---|
void |
lalr_state.add_transition(symbol on_sym,
lalr_state to_st)
Add a transition out of this state to another.
|
boolean |
symbol_set.add(symbol sym)
Add a single symbol to the set.
|
boolean |
symbol_set.contains(symbol sym)
Determine if the set contains a particular symbol.
|
void |
symbol_set.remove(symbol sym)
Remove a single symbol if it is in the set.
|
Constructor and Description |
---|
lalr_transition(symbol on_sym,
lalr_state to_st)
Constructor with null next.
|
lalr_transition(symbol on_sym,
lalr_state to_st,
lalr_transition nxt)
Full constructor.
|
symbol_part(symbol sym)
Constructor with no label.
|
symbol_part(symbol sym,
String lab)
Full constructor.
|
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.