declaration_list
{ "{"
use_declaration
use "use"
use_wildcard
identifier "rbspy_testdata"
:: "::"
* "*"
; ";"
use_declaration
use "use"
scoped_identifier
identifier "rstest"
:: "::"
identifier "rstest"
; ";"
use_declaration
use "use"
scoped_identifier
scoped_identifier
crate "crate"
:: "::"
identifier "core"
:: "::"
identifier "ruby_version"
; ";"
use_declaration
use "use"
scoped_identifier
scoped_identifier
scoped_identifier
crate "crate"
:: "::"
identifier "core"
:: "::"
identifier "types"
:: "::"
identifier "StackFrame"
; ";"
function_item (+306 nodes collapsed)
function_item (+308 nodes collapsed)
function_item (+312 nodes collapsed)
function_item (+366 nodes collapsed)
function_item (+382 nodes collapsed)
function_item (+371 nodes collapsed)
function_item (+2438 nodes collapsed)
function_item (+306 nodes collapsed)
function_item (+252 nodes collapsed)
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+86 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+86 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+89 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+86 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+86 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+97 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+97 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+97 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+97 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+97 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+97 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+97 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+103 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item
fn "fn"
identifier "test_get_ruby_stack_trace_3_3_9"
parameters
( "("
) ")"
block
{ "{"
let_declaration
let "let"
identifier "source"
= "="
call_expression
identifier "coredump_3_3_0"
arguments
( "("
) ")"
; ";"
let_declaration
let "let"
identifier "vm_addr"
= "="
integer_literal "0x7f43435f4988"
; ";"
let_declaration
let "let"
identifier "global_symbols_addr"
= "="
call_expression
identifier "Some"
arguments
( "("
integer_literal "0x7f43435e3c60"
) ")"
; ";"
let_declaration
let "let"
identifier "stack_trace"
= "="
call_expression
field_expression
call_expression
generic_function
scoped_identifier
scoped_identifier
identifier "ruby_version"
:: "::"
identifier "ruby_3_3_9"
:: "::"
identifier "get_stack_trace"
:: "::"
type_arguments
< "<"
type_identifier "CoreDump"
> ">"
arguments
( "("
integer_literal "0"
, ","
identifier "vm_addr"
, ","
identifier "global_symbols_addr"
, ","
reference_expression
& "&"
identifier "source"
, ","
integer_literal "0"
, ","
boolean_literal
false "false"
, ","
) ")"
. "."
field_identifier "unwrap"
arguments
( "("
) ")"
; ";"
expression_statement
macro_invocation
identifier "assert_eq"
! "!"
token_tree
( "("
identifier "real_stack_trace_3_3_0"
token_tree
( "("
) ")"
, ","
identifier "stack_trace"
. "."
identifier "unwrap"
token_tree
( "("
) ")"
. "."
identifier "trace"
) ")"
; ";"
} "}"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item
fn "fn"
identifier "test_get_ruby_stack_trace_3_3_10"
parameters
( "("
) ")"
block
{ "{"
let_declaration
let "let"
identifier "source"
= "="
call_expression
identifier "coredump_3_3_0"
arguments
( "("
) ")"
; ";"
let_declaration
let "let"
identifier "vm_addr"
= "="
integer_literal "0x7f43435f4988"
; ";"
let_declaration
let "let"
identifier "global_symbols_addr"
= "="
call_expression
identifier "Some"
arguments
( "("
integer_literal "0x7f43435e3c60"
) ")"
; ";"
let_declaration
let "let"
identifier "stack_trace"
= "="
call_expression
field_expression
call_expression
generic_function
scoped_identifier
scoped_identifier
identifier "ruby_version"
:: "::"
identifier "ruby_3_3_10"
:: "::"
identifier "get_stack_trace"
:: "::"
type_arguments
< "<"
type_identifier "CoreDump"
> ">"
arguments
( "("
integer_literal "0"
, ","
identifier "vm_addr"
, ","
identifier "global_symbols_addr"
, ","
reference_expression
& "&"
identifier "source"
, ","
integer_literal "0"
, ","
boolean_literal
false "false"
, ","
) ")"
. "."
field_identifier "unwrap"
arguments
( "("
) ")"
; ";"
expression_statement
macro_invocation
identifier "assert_eq"
! "!"
token_tree
( "("
identifier "real_stack_trace_3_3_0"
token_tree
( "("
) ")"
, ","
identifier "stack_trace"
. "."
identifier "unwrap"
token_tree
( "("
) ")"
. "."
identifier "trace"
) ")"
; ";"
} "}"
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "target_pointer_width"
= "="
string_literal
" "\""
string_content "64"
" "\""
) ")"
] "]"
attribute_item
# "#"
[ "["
attribute
identifier "test"
] "]"
function_item (+101 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "rstest"
] "]"
attribute_item (+28 nodes collapsed)
attribute_item (+29 nodes collapsed)
attribute_item (+29 nodes collapsed)
attribute_item (+26 nodes collapsed)
function_item (+96 nodes collapsed)
attribute_item
# "#"
[ "["
attribute
identifier "rstest"
] "]"
attribute_item (+38 nodes collapsed)
attribute_item (+37 nodes collapsed)
attribute_item (+36 nodes collapsed)
attribute_item (+39 nodes collapsed)
attribute_item (+39 nodes collapsed)
function_item (+127 nodes collapsed)
} "}"