public class Symbol extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
left
The data passed to parser
|
int |
parse_state
The parse state to be recorded on the parse stack with this symbol.
|
int |
right
The data passed to parser
|
int |
sym
The symbol number of the terminal or non terminal being represented
|
Object |
value |
| Constructor and Description |
|---|
Symbol(int sym_num)
Constructor for no value or l,r
|
Symbol(int sym_num,
int state)
Constructor to give a start state
|
Symbol(int sym_num,
int l,
int r)
Constructor for no value
|
Symbol(int id,
int l,
int r,
Object o)
Constructor for l,r values
|
Symbol(int id,
Object o)
Constructor for no l,r values
|
public int sym
public int parse_state
public int left
public int right
public Object value
public Symbol(int id,
int l,
int r,
Object o)
public Symbol(int id,
Object o)
public Symbol(int sym_num,
int l,
int r)
public Symbol(int sym_num)
public Symbol(int sym_num,
int state)
Copyright © 2018–2021 mhoffrogge. All rights reserved.