All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class aka.mc.Parser

java.lang.Object
   |
   +----java_cup.runtime.lr_parser
           |
           +----aka.mc.Parser

public class Parser
extends lr_parser

Variable Index

 o _action_table
parse action table
 o _production_table
production table
 o _reduce_table
reduce_goto table
 o action_obj
instance of action encapsulation class

Constructor Index

 o Parser()
constructor

Method Index

 o action_table()
access to parse action table
 o do_action(int, lr_parser, Stack, int)
invoke a user supplied parse action
 o EOF_sym()
EOF symbol index
 o error_sym()
error symbol index
 o getMibManager()
 o init_actions()
action encapsulation object initializer
 o production_table()
access to production table
 o reduce_table()
access to reduce_goto table
 o scan()
scan to get the next token
 o setInputStream(InputStream)
 o setMibManager(MibManager)
 o start_production()
start production
 o start_state()
start state
 o user_init()
user initialization

Variables

 o _production_table
 protected static final short _production_table[][]
production table

 o _action_table
 protected static final short _action_table[][]
parse action table

 o _reduce_table
 protected static final short _reduce_table[][]
reduce_goto table

 o action_obj
 protected CUP$actions action_obj
instance of action encapsulation class

Constructors

 o Parser
 public Parser()
constructor

Methods

 o production_table
 public short[][] production_table()
access to production table

Overrides:
production_table in class lr_parser
 o action_table
 public short[][] action_table()
access to parse action table

Overrides:
action_table in class lr_parser
 o reduce_table
 public short[][] reduce_table()
access to reduce_goto table

Overrides:
reduce_table in class lr_parser
 o init_actions
 protected void init_actions()
action encapsulation object initializer

Overrides:
init_actions in class lr_parser
 o do_action
 public symbol do_action(int act_num,
                         lr_parser parser,
                         Stack stack,
                         int top) throws Exception
invoke a user supplied parse action

Overrides:
do_action in class lr_parser
 o start_state
 public int start_state()
start state

Overrides:
start_state in class lr_parser
 o start_production
 public int start_production()
start production

Overrides:
start_production in class lr_parser
 o EOF_sym
 public int EOF_sym()
EOF symbol index

Overrides:
EOF_sym in class lr_parser
 o error_sym
 public int error_sym()
error symbol index

Overrides:
error_sym in class lr_parser
 o user_init
 public void user_init() throws Exception
user initialization

Overrides:
user_init in class lr_parser
 o scan
 public token scan() throws Exception
scan to get the next token

Overrides:
scan in class lr_parser
 o setMibManager
 public static void setMibManager(MibManager aManager)
 o getMibManager
 public static MibManager getMibManager()
 o setInputStream
 public void setInputStream(InputStream in)

All Packages  Class Hierarchy  This Package  Previous  Next  Index