META-INF/
META-INF/MANIFEST.MF
java_cup/
java_cup/action_part.classaction_part.java
package java_cup
public java_cup.action_part extends java_cup.production_part {
protected String _code_string
public void (java.lang.String)
public java.lang.String code_string ()
public void set_code_string (java.lang.String)
public boolean is_action ()
public boolean equals (java_cup.action_part)
public boolean equals (java.lang.Object)
public int hashCode ()
public java.lang.String toString ()
}
java_cup/action_production.classaction_production.java
package java_cup
public java_cup.action_production extends java_cup.production {
protected java_cup.production _base_production
public void (java_cup.production, java_cup.non_terminal, java_cup.production_part[], int, java.lang.String) throws java_cup.internal_error
public java_cup.production base_production ()
}
java_cup/CUP$actions.classparser.java
package java_cup
java_cup.CUP$actions extends java.lang.Object {
protected final int MAX_RHS
protected java_cup.production_part[] rhs_parts
protected int rhs_pos
protected String multipart_name
protected java.util.Hashtable symbols
protected java.util.Hashtable non_terms
protected java_cup.non_terminal start_nt
protected java_cup.non_terminal lhs_nt
protected java_cup.production_part add_lab (java_cup.production_part, java.lang.String) throws java_cup.internal_error
protected void new_rhs ()
protected void add_rhs_part (java_cup.production_part) throws java.lang.Exception
protected void append_multipart (java.lang.String)
void ()
public final java_cup.runtime.symbol CUP$do_action (int, java_cup.runtime.lr_parser, java.util.Stack, int) throws java.lang.Exception
}
java_cup/emit.classemit.java
package java_cup
public java_cup.emit extends java.lang.Object {
public static String input_file_name
public static String prefix
public static String package_name
public static String symbol_const_class_name
public static String parser_class_name
public static String action_code
public static String parser_code
public static String init_code
public static String scan_code
public static java_cup.production start_production
public static java.util.Stack import_list
public static int num_conflicts
public static boolean nowarn
public static int not_reduced
public static int unused_term
public static int unused_non_term
public static long symbols_time
public static long parser_time
public static long action_code_time
public static long production_table_time
public static long action_table_time
public static long goto_table_time
public static String debug_grammar
private void ()
protected static java.lang.String pre (java.lang.String)
protected static void emit_package (java.io.PrintStream)
public static void symbols (java.io.PrintStream, boolean)
protected static void emit_action_code (java.io.PrintStream, java_cup.production) throws java_cup.internal_error
protected static void emit_production_table (java.io.PrintStream)
protected static void do_action_table (java.io.PrintStream, java_cup.parse_action_table, boolean) throws java_cup.internal_error
protected static void do_reduce_table (java.io.PrintStream, java_cup.parse_reduce_table)
public static void parser (java.io.PrintStream, java_cup.parse_action_table, java_cup.parse_reduce_table, int, java_cup.production, boolean) throws java_cup.internal_error
static void ()
}
java_cup/internal_error.classinternal_error.java
package java_cup
public java_cup.internal_error extends java.lang.Exception {
public void (java.lang.String)
public void crash ()
}
java_cup/lalr_item.classlalr_item.java
package java_cup
public java_cup.lalr_item extends java_cup.lr_item_core {
protected java_cup.terminal_set _lookahead
protected java.util.Stack _propagate_items
protected boolean needs_propagation
public void (java_cup.production, int, java_cup.terminal_set) throws java_cup.internal_error
public void (java_cup.production, java_cup.terminal_set) throws java_cup.internal_error
public void (java_cup.production) throws java_cup.internal_error
public java_cup.terminal_set lookahead ()
public java.util.Stack propagate_items ()
public void add_propagate (java_cup.lalr_item)
public void propagate_lookaheads (java_cup.terminal_set) throws java_cup.internal_error
public java_cup.lalr_item shift () throws java_cup.internal_error
public java_cup.terminal_set calc_lookahead (java_cup.terminal_set) throws java_cup.internal_error
public boolean lookahead_visible () throws java_cup.internal_error
public boolean equals (java_cup.lalr_item)
public boolean equals (java.lang.Object)
public int hashCode ()
public java.lang.String toString ()
}
java_cup/lalr_item_set.classlalr_item_set.java
package java_cup
public java_cup.lalr_item_set extends java.lang.Object {
protected java.util.Hashtable _all
protected Integer hashcode_cache
public void ()
public void (java_cup.lalr_item_set) throws java_cup.internal_error
public java.util.Enumeration all ()
public int size ()
public boolean contains (java_cup.lalr_item)
public java_cup.lalr_item find (java_cup.lalr_item)
public boolean is_subset_of (java_cup.lalr_item_set) throws java_cup.internal_error
public boolean is_superset_of (java_cup.lalr_item_set) throws java_cup.internal_error
public java_cup.lalr_item add (java_cup.lalr_item) throws java_cup.internal_error
public void remove (java_cup.lalr_item) throws java_cup.internal_error
public void add (java_cup.lalr_item_set) throws java_cup.internal_error
public void remove (java_cup.lalr_item_set) throws java_cup.internal_error
public java_cup.lalr_item get_one () throws java_cup.internal_error
protected void not_null (java.lang.Object) throws java_cup.internal_error
public void compute_closure () throws java_cup.internal_error
public boolean equals (java_cup.lalr_item_set)
public boolean equals (java.lang.Object)
public int hashCode ()
public java.lang.String toString ()
}
java_cup/lalr_state.classlalr_state.java
package java_cup
public java_cup.lalr_state extends java.lang.Object {
protected static java.util.Hashtable _all
protected static java.util.Hashtable _all_kernels
protected static int next_index
protected java_cup.lalr_item_set _items
protected java_cup.lalr_transition _transitions
protected int _index
public void (java_cup.lalr_item_set) throws java_cup.internal_error
public static java.util.Enumeration all ()
public static int number ()
public static java_cup.lalr_state find_state (java_cup.lalr_item_set)
public java_cup.lalr_item_set items ()
public java_cup.lalr_transition transitions ()
public int index ()
protected static void dump_state (java_cup.lalr_state) throws java_cup.internal_error
protected static void propagate_all_lookaheads () throws java_cup.internal_error
public void add_transition (java_cup.symbol, java_cup.lalr_state) throws java_cup.internal_error
public static java_cup.lalr_state build_machine (java_cup.production) throws java_cup.internal_error
protected void propagate_lookaheads () throws java_cup.internal_error
public void build_table_entries (java_cup.parse_action_table, java_cup.parse_reduce_table) throws java_cup.internal_error
protected void report_conflicts () throws java_cup.internal_error
protected void report_reduce_reduce (java_cup.lalr_item, java_cup.lalr_item) throws java_cup.internal_error
protected void report_shift_reduce (java_cup.lalr_item, int) throws java_cup.internal_error
public boolean equals (java_cup.lalr_state)
public boolean equals (java.lang.Object)
public int hashCode ()
public java.lang.String toString ()
static void ()
}
java_cup/lalr_transition.classlalr_transition.java
package java_cup
public java_cup.lalr_transition extends java.lang.Object {
protected java_cup.symbol _on_symbol
protected java_cup.lalr_state _to_state
protected java_cup.lalr_transition _next
public void (java_cup.symbol, java_cup.lalr_state, java_cup.lalr_transition) throws java_cup.internal_error
public void (java_cup.symbol, java_cup.lalr_state) throws java_cup.internal_error
public java_cup.symbol on_symbol ()
public java_cup.lalr_state to_state ()
public java_cup.lalr_transition next ()
public java.lang.String toString ()
}
java_cup/lexer.classlexer.java
package java_cup
public java_cup.lexer extends java.lang.Object {
protected static int next_char
protected static int next_char2
protected static final int EOF_CHAR
protected static java.util.Hashtable keywords
protected static java.util.Hashtable char_symbols
protected static int current_line
protected static int current_position
public static int error_count
public static int warning_count
private void ()
public static void init () throws java.io.IOException
protected static void advance () throws java.io.IOException
public static void emit_error (java.lang.String)
public static void emit_warn (java.lang.String)
protected static boolean id_start_char (int)
protected static boolean id_char (int)
protected static int find_single_char (int)
protected static void swallow_comment () throws java.io.IOException
protected static java_cup.runtime.token do_code_string () throws java.io.IOException
protected static java_cup.runtime.token do_id () throws java.io.IOException
public static java_cup.runtime.token next_token () throws java.io.IOException
public static java_cup.runtime.token debug_next_token () throws java.io.IOException
protected static java_cup.runtime.token real_next_token () throws java.io.IOException
static void ()
}
java_cup/lr_item_core.classlr_item_core.java
package java_cup
public java_cup.lr_item_core extends java.lang.Object {
protected java_cup.production _the_production
protected int _dot_pos
protected int _core_hash_cache
protected java_cup.symbol _symbol_after_dot
public void (java_cup.production, int) throws java_cup.internal_error
public void (java_cup.production) throws java_cup.internal_error
public java_cup.production the_production ()
public int dot_pos ()
public boolean dot_at_end ()
public java_cup.symbol symbol_after_dot ()
public java_cup.non_terminal dot_before_nt ()
public java_cup.lr_item_core shift_core () throws java_cup.internal_error
public boolean core_equals (java_cup.lr_item_core)
public boolean equals (java_cup.lr_item_core)
public boolean equals (java.lang.Object)
public int core_hashCode ()
public int hashCode ()
public java.lang.String to_simple_string () throws java_cup.internal_error
public java.lang.String toString ()
}
java_cup/Main.classMain.java
package java_cup
public java_cup.Main extends java.lang.Object {
protected static boolean print_progress
protected static boolean opt_dump_states
protected static boolean opt_dump_tables
protected static boolean opt_dump_grammar
protected static boolean opt_show_timing
protected static boolean opt_do_debug
protected static boolean opt_compact_red
protected static boolean include_non_terms
protected static boolean no_summary
protected static int expect_conflicts
protected static long start_time
protected static long prelim_end
protected static long parse_end
protected static long check_end
protected static long dump_end
protected static long build_end
protected static long nullability_end
protected static long first_end
protected static long machine_end
protected static long table_end
protected static long reduce_check_end
protected static long emit_end
protected static long final_time
private static String out_path
protected static java.io.BufferedInputStream input_file
protected static java.io.PrintStream parser_class_file
protected static java.io.PrintStream symbol_class_file
protected static java_cup.lalr_state start_state
protected static java_cup.parse_action_table action_table
protected static java_cup.parse_reduce_table reduce_table
private void ()
public static void main (java.lang.String[]) throws java_cup.internal_error java.io.IOException java.lang.Exception
protected static void usage (java.lang.String)
protected static void parse_args (java.lang.String[])
protected static void open_files ()
protected static void close_files () throws java.io.IOException
protected static void parse_grammar_spec () throws java.lang.Exception
protected static void check_unused ()
protected static void build_parser () throws java_cup.internal_error
protected static void emit_parser () throws java_cup.internal_error
protected static java.lang.String plural (int)
protected static void emit_summary (boolean)
protected static void show_times ()
protected static java.lang.String timestr (long, long)
public static void dump_grammar () throws java_cup.internal_error
public static void dump_machine ()
public static void dump_tables ()
static void ()
}
java_cup/non_terminal.classnon_terminal.java
package java_cup
public java_cup.non_terminal extends java_cup.symbol {
protected static java.util.Hashtable _all
protected static int next_index
protected static int next_nt
public static final java_cup.non_terminal START_nt
protected java.util.Hashtable _productions
protected boolean _nullable
protected java_cup.terminal_set _first_set
public void (java.lang.String, java.lang.String)
public void (java.lang.String)
public static java.util.Enumeration all ()
public static java_cup.non_terminal find (java.lang.String)
public static int number ()
static java_cup.non_terminal create_new (java.lang.String) throws java_cup.internal_error
static java_cup.non_terminal create_new () throws java_cup.internal_error
public static void compute_nullability () throws java_cup.internal_error
public static void compute_first_sets () throws java_cup.internal_error
public java.util.Enumeration productions ()
public int num_productions ()
public void add_production (java_cup.production) throws java_cup.internal_error
public boolean nullable ()
public java_cup.terminal_set first_set ()
public boolean is_non_term ()
protected boolean looks_nullable () throws java_cup.internal_error
public java.lang.String toString ()
static void ()
}
java_cup/parser.classparser.java
package java_cup
public java_cup.parser extends java_cup.runtime.lr_parser {
protected static final short[][] _production_table
protected static final short[][] _action_table
protected static final short[][] _reduce_table
protected java_cup.CUP$actions action_obj
public void ()
public short[][] production_table ()
public short[][] action_table ()
public short[][] reduce_table ()
protected void init_actions ()
public java_cup.runtime.symbol do_action (int, java_cup.runtime.lr_parser, java.util.Stack, int) throws java.lang.Exception
public int start_state ()
public int start_production ()
public int EOF_sym ()
public int error_sym ()
public void user_init () throws java.lang.Exception
public java_cup.runtime.token scan () throws java.lang.Exception
public void report_fatal_error (java.lang.String, java.lang.Object)
public void report_error (java.lang.String, java.lang.Object)
static void ()
}
java_cup/parse_action.classparse_action.java
package java_cup
public java_cup.parse_action extends java.lang.Object {
public static final int ERROR
public static final int SHIFT
public static final int REDUCE
public void ()
public int kind ()
public boolean equals (java_cup.parse_action)
public boolean equals (java.lang.Object)
public int hashCode ()
public java.lang.String toString ()
}
java_cup/parse_action_row.classparse_action_row.java
package java_cup
public java_cup.parse_action_row extends java.lang.Object {
protected static int _size
protected static int[] reduction_count
public java_cup.parse_action[] under_term
public int default_reduce
public void ()
public static int size ()
public void compute_default ()
static void ()
}
java_cup/parse_action_table.classparse_action_table.java
package java_cup
public java_cup.parse_action_table extends java.lang.Object {
protected int _num_states
public java_cup.parse_action_row[] under_state
public void ()
public int num_states ()
public void check_reductions () throws java_cup.internal_error
public java.lang.String toString ()
}
java_cup/parse_reduce_row.classparse_reduce_row.java
package java_cup
public java_cup.parse_reduce_row extends java.lang.Object {
protected static int _size
public java_cup.lalr_state[] under_non_term
public void ()
public static int size ()
static void ()
}
java_cup/parse_reduce_table.classparse_reduce_table.java
package java_cup
public java_cup.parse_reduce_table extends java.lang.Object {
protected int _num_states
public java_cup.parse_reduce_row[] under_state
public void ()
public int num_states ()
public java.lang.String toString ()
}
java_cup/production.classproduction.java
package java_cup
public java_cup.production extends java.lang.Object {
protected static java.util.Hashtable _all
protected static int next_index
protected java_cup.symbol_part _lhs
protected java_cup.production_part[] _rhs
protected int _rhs_length
protected java_cup.action_part _action
protected int _index
protected int _num_reductions
protected boolean _nullable_known
protected boolean _nullable
protected java_cup.terminal_set _first_set
public void (java_cup.non_terminal, java_cup.production_part[], int, java.lang.String) throws java_cup.internal_error
public void (java_cup.non_terminal, java_cup.production_part[], int) throws java_cup.internal_error
public static java.util.Enumeration all ()
public static int number ()
public java_cup.symbol_part lhs ()
public java_cup.production_part rhs (int) throws java_cup.internal_error
public int rhs_length ()
public java_cup.action_part action ()
public int index ()
public int num_reductions ()
public void note_reduction_use ()
public boolean nullable_known ()
public boolean nullable ()
public java_cup.terminal_set first_set ()
protected static boolean is_id_start (char)
protected static boolean is_id_char (char)
protected java.lang.String label_translate (java.lang.String, int, java.util.Hashtable, java.util.Hashtable)
protected java.lang.String action_translate (java.lang.String, int, java.util.Hashtable, java.util.Hashtable)
protected java.lang.String translate_labels (java_cup.production_part[], int, java.lang.String, java.lang.String)
protected int merge_adjacent_actions (java_cup.production_part[], int)
protected java_cup.action_part strip_trailing_action (java_cup.production_part[], int)
protected void remove_embedded_actions () throws java_cup.internal_error
public boolean check_nullable () throws java_cup.internal_error
boolean set_nullable (boolean)
public java_cup.terminal_set check_first_set () throws java_cup.internal_error
public boolean equals (java_cup.production)
public boolean equals (java.lang.Object)
public int hashCode ()
public java.lang.String toString ()
public java.lang.String to_simple_string () throws java_cup.internal_error
static void ()
}
java_cup/production_part.classproduction_part.java
package java_cup
public abstract java_cup.production_part extends java.lang.Object {
protected String _label
public void (java.lang.String)
public java.lang.String label ()
public abstract boolean is_action ()
public boolean equals (java_cup.production_part)
public boolean equals (java.lang.Object)
public int hashCode ()
public java.lang.String toString ()
}
java_cup/reduce_action.classreduce_action.java
package java_cup
public java_cup.reduce_action extends java_cup.parse_action {
protected java_cup.production _reduce_with
public void (java_cup.production) throws java_cup.internal_error
public java_cup.production reduce_with ()
public int kind ()
public boolean equals (java_cup.reduce_action)
public boolean equals (java.lang.Object)
public int hashCode ()
public java.lang.String toString ()
}
java_cup/shift_action.classshift_action.java
package java_cup
public java_cup.shift_action extends java_cup.parse_action {
protected java_cup.lalr_state _shift_to
public void (java_cup.lalr_state) throws java_cup.internal_error
public java_cup.lalr_state shift_to ()
public int kind ()
public boolean equals (java_cup.shift_action)
public boolean equals (java.lang.Object)
public int hashCode ()
public java.lang.String toString ()
}
java_cup/sym.classsym.java
package java_cup
public java_cup.sym extends java.lang.Object {
static final int IMPORT
static final int INIT
static final int CODE_STRING
static final int DEBUG
static final int SEMI
static final int STAR
static final int CODE
static final int COLON
static final int NON
static final int ID
static final int WITH
static final int TERMINAL
static final int COLON_COLON_EQUALS
static final int COMMA
static final int EOF
static final int PARSER
static final int error
static final int DOT
static final int ACTION
static final int START
static final int PACKAGE
static final int BAR
static final int SCAN
public void ()
}
java_cup/symbol.classsymbol.java
package java_cup
public abstract java_cup.symbol extends java.lang.Object {
protected String _name
protected String _stack_type
protected int _use_count
protected int _index
public void (java.lang.String, java.lang.String)
public void (java.lang.String)
public java.lang.String name ()
public java.lang.String stack_type ()
public int use_count ()
public void note_use ()
public int index ()
public abstract boolean is_non_term ()
public java.lang.String toString ()
}
java_cup/symbol_part.classsymbol_part.java
package java_cup
public java_cup.symbol_part extends java_cup.production_part {
protected java_cup.symbol _the_symbol
public void (java_cup.symbol, java.lang.String) throws java_cup.internal_error
public void (java_cup.symbol) throws java_cup.internal_error
public java_cup.symbol the_symbol ()
public boolean is_action ()
public boolean equals (java_cup.symbol_part)
public boolean equals (java.lang.Object)
public int hashCode ()
public java.lang.String toString ()
}
java_cup/symbol_set.classsymbol_set.java
package java_cup
public java_cup.symbol_set extends java.lang.Object {
protected java.util.Hashtable _all
public void ()
public void (java_cup.symbol_set) throws java_cup.internal_error
public java.util.Enumeration all ()
public int size ()
protected void not_null (java.lang.Object) throws java_cup.internal_error
public boolean contains (java_cup.symbol)
public boolean is_subset_of (java_cup.symbol_set) throws java_cup.internal_error
public boolean is_superset_of (java_cup.symbol_set) throws java_cup.internal_error
public boolean add (java_cup.symbol) throws java_cup.internal_error
public void remove (java_cup.symbol) throws java_cup.internal_error
public boolean add (java_cup.symbol_set) throws java_cup.internal_error
public void remove (java_cup.symbol_set) throws java_cup.internal_error
public boolean equals (java_cup.symbol_set)
public boolean equals (java.lang.Object)
public int hashCode ()
public java.lang.String toString ()
}
java_cup/terminal.classterminal.java
package java_cup
public java_cup.terminal extends java_cup.symbol {
protected static java.util.Hashtable _all
protected static java.util.Hashtable _all_by_index
protected static int next_index
public static final java_cup.terminal EOF
public static final java_cup.terminal error
public void (java.lang.String, java.lang.String)
public void (java.lang.String)
public static java.util.Enumeration all ()
public static java_cup.terminal find (java.lang.String)
public static java_cup.terminal find (int)
public static int number ()
public boolean is_non_term ()
public java.lang.String toString ()
static void ()
}
java_cup/terminal_set.classterminal_set.java
package java_cup
public java_cup.terminal_set extends java.lang.Object {
public static final java_cup.terminal_set EMPTY
protected java.util.BitSet _elements
public void ()
public void (java_cup.terminal_set) throws java_cup.internal_error
protected void not_null (java.lang.Object) throws java_cup.internal_error
public boolean empty ()
public boolean contains (java_cup.terminal) throws java_cup.internal_error
public boolean contains (int)
public boolean is_subset_of (java_cup.terminal_set) throws java_cup.internal_error
public boolean is_superset_of (java_cup.terminal_set) throws java_cup.internal_error
public boolean add (java_cup.terminal) throws java_cup.internal_error
public void remove (java_cup.terminal) throws java_cup.internal_error
public boolean add (java_cup.terminal_set) throws java_cup.internal_error
public boolean intersects (java_cup.terminal_set) throws java_cup.internal_error
public boolean equals (java_cup.terminal_set)
public boolean equals (java.lang.Object)
public java.lang.String toString ()
static void ()
}
java_cup/version.classversion.java
package java_cup
public java_cup.version extends java.lang.Object {
public static final String version_str
public static final int major
public static final int minor
public static final char update
public static final String title_str
public static final String author_str
public static final String program_name
public void ()
}
java_cup/runtime/
java_cup/runtime/lr_parser.classlr_parser.java
package java_cup.runtime
public abstract java_cup.runtime.lr_parser extends java.lang.Object {
protected static final int _error_sync_size
protected boolean _done_parsing
protected int tos
protected java_cup.runtime.token cur_token
protected java.util.Stack stack
protected short[][] production_tab
protected short[][] action_tab
protected short[][] reduce_tab
protected java_cup.runtime.token[] lookahead
protected int lookahead_pos
public void ()
protected int error_sync_size ()
public abstract short[][] production_table ()
public abstract short[][] action_table ()
public abstract short[][] reduce_table ()
public abstract int start_state ()
public abstract int start_production ()
public abstract int EOF_sym ()
public abstract int error_sym ()
public void done_parsing ()
public abstract java_cup.runtime.symbol do_action (int, java_cup.runtime.lr_parser, java.util.Stack, int) throws java.lang.Exception
public void user_init () throws java.lang.Exception
protected abstract void init_actions () throws java.lang.Exception
public abstract java_cup.runtime.token scan () throws java.lang.Exception
public void report_fatal_error (java.lang.String, java.lang.Object) throws java.lang.Exception
public void report_error (java.lang.String, java.lang.Object)
public void syntax_error (java_cup.runtime.token)
public void unrecovered_syntax_error (java_cup.runtime.token) throws java.lang.Exception
protected final short get_action (int, int)
protected final short get_reduce (int, int)
public void parse () throws java.lang.Exception
public void debug_message (java.lang.String)
public void dump_stack ()
public void debug_reduce (int, int, int)
public void debug_shift (java_cup.runtime.token)
public void debug_parse () throws java.lang.Exception
protected boolean error_recovery (boolean) throws java.lang.Exception
protected boolean shift_under_error ()
protected boolean find_recovery_config (boolean)
protected void read_lookahead () throws java.lang.Exception
protected java_cup.runtime.token cur_err_token ()
protected boolean advance_lookahead ()
protected void restart_lookahead () throws java.lang.Exception
protected boolean try_parse_ahead (boolean) throws java.lang.Exception
protected void parse_lookahead (boolean) throws java.lang.Exception
}
java_cup/runtime/str_token.classstr_token.java
package java_cup.runtime
public java_cup.runtime.str_token extends java_cup.runtime.token {
public String str_val
public void (int, java.lang.String)
public void (int)
}
java_cup/runtime/symbol.classsymbol.java
package java_cup.runtime
public java_cup.runtime.symbol extends java.lang.Object {
public int sym
public int parse_state
public void (int, int)
public void (int)
}
java_cup/runtime/token.classtoken.java
package java_cup.runtime
public java_cup.runtime.token extends java_cup.runtime.symbol {
public void (int)
}
java_cup/runtime/virtual_parse_stack.classvirtual_parse_stack.java
package java_cup.runtime
public java_cup.runtime.virtual_parse_stack extends java.lang.Object {
protected java.util.Stack real_stack
protected int real_next
protected java.util.Stack vstack
public void (java.util.Stack) throws java.lang.Exception
protected void get_from_real ()
public boolean empty ()
public int top () throws java.lang.Exception
public void pop () throws java.lang.Exception
public void push (int)
}