|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java_cup.runtime.lr_parser com.croftsoft.apps.compiler.mini.parse.MiniParser
public class MiniParser
Field Summary | |
---|---|
protected static short[][] |
_action_table
parse action table |
protected static short[][] |
_production_table
production table |
protected static short[][] |
_reduce_table
reduce_goto table |
protected com.croftsoft.apps.compiler.mini.parse.CUP$MiniParser$actions |
action_obj
instance of action encapsulation class |
protected CUPTokenScanner |
cupTokenScanner
|
Constructor Summary | |
---|---|
MiniParser()
constructor |
|
MiniParser(CUPTokenScanner cupTokenScanner)
|
Method Summary | |
---|---|
short[][] |
action_table()
access to parse action table |
java_cup.runtime.Symbol |
do_action(int act_num,
java_cup.runtime.lr_parser parser,
Stack stack,
int top)
invoke a user supplied parse action |
int |
EOF_sym()
EOF Symbol index |
int |
error_sym()
error Symbol index |
protected void |
init_actions()
action encapsulation object initializer |
short[][] |
production_table()
access to production table |
short[][] |
reduce_table()
access to reduce_goto table |
java_cup.runtime.Symbol |
scan()
scan to get the next Symbol |
int |
start_production()
start production |
int |
start_state()
start state |
void |
user_init()
user initialization |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final short[][] _production_table
protected static final short[][] _action_table
protected static final short[][] _reduce_table
protected com.croftsoft.apps.compiler.mini.parse.CUP$MiniParser$actions action_obj
protected CUPTokenScanner cupTokenScanner
Constructor Detail |
---|
public MiniParser()
public MiniParser(CUPTokenScanner cupTokenScanner)
Method Detail |
---|
public short[][] production_table()
public short[][] action_table()
public short[][] reduce_table()
protected void init_actions()
public java_cup.runtime.Symbol do_action(int act_num, java_cup.runtime.lr_parser parser, Stack stack, int top) throws Exception
Exception
public int start_state()
public int start_production()
public int EOF_sym()
public int error_sym()
public void user_init() throws Exception
Exception
public java_cup.runtime.Symbol scan() throws Exception
Exception
|
CroftSoft Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |