# File lib/v8/stack.rb, line 29 def initialize(portal, native) @to = portal @native = native end
# File lib/v8/stack.rb, line 46 def column @native.GetColumn() end
# File lib/v8/stack.rb, line 54 def constructor? @native.IsConstructor() end
# File lib/v8/stack.rb, line 50 def eval? @native.IsEval() end
# File lib/v8/stack.rb, line 38 def function_name @to.rb(@native.GetFunctionName()) end
# File lib/v8/stack.rb, line 42 def line_number @native.GetLineNumber() end
# File lib/v8/stack.rb, line 34 def script_name @to.rb(@native.GetScriptName()) end
# File lib/v8/stack.rb, line 58 def to_s if @native.GetFunctionName() "#{function_name} (#{script_name}:#{line_number}:#{column})" else "#{script_name}:#{line_number}:#{column}" end end