question: public void dump_stack ( ) { if ( stack == null ) { debug_message ( "# Stack dump requested, but stack is null" ) ; return ; } debug_message ( "============ Parse Stack Dump ============" ) ; for ( int i = 0 ; i < stack . size ( ) ; i ++ ) { debug_message ( "Symbol: " + ( ( symbol ) stack . elementAt ( i ) ) . sym + " State: " + ( ( symbol ) stack . elementAt ( i ) ) . parse_state ) ; } debug_message ( "==========================================" ) ; }
target:  Dump the parse stack for debugging purposes. 