# File lib/ruby_parser_extras.rb, line 1279 def inspect "StackState(#{@name}, #{@stack.inspect})" end
# File lib/ruby_parser_extras.rb, line 1283 def is_in_state p :stack_is_in_state => [name, @stack.last, caller.first] if debug @stack.last end
# File lib/ruby_parser_extras.rb, line 1288 def lexpop p :stack_lexpop => caller.first if debug raise if @stack.size == 0 a = @stack.pop b = @stack.pop @stack.push(a || b) end
# File lib/ruby_parser_extras.rb, line 1296 def pop r = @stack.pop p :stack_pop => [name, r, @stack, caller.first] if debug @stack.push false if @stack.size == 0 r end
# File lib/ruby_parser_extras.rb, line 1303 def push val @stack.push val p :stack_push => [name, @stack, caller.first] if debug nil end
Generated with the Darkfish Rdoc Generator 2.