go/cmd/guru/testdata/src/what/main.golden

42 lines
921 B
Plaintext

-------- @what pkgdecl --------
identifier
source file
modes: [definition describe freevars implements pointsto referrers whicherrs]
srcdir: testdata/src
import path: what
-------- @what call --------
identifier
function call
expression statement
block
function declaration
source file
modes: [callees callers callstack definition describe freevars implements pointsto referrers whicherrs]
srcdir: testdata/src
import path: what
-------- @what var --------
variable declaration
variable declaration statement
block
function declaration
source file
modes: [callers callstack describe freevars pointsto whicherrs]
srcdir: testdata/src
import path: what
-------- @what recv --------
identifier
unary <- operation
expression statement
block
function declaration
source file
modes: [callers callstack definition describe freevars implements peers pointsto referrers whicherrs]
srcdir: testdata/src
import path: what
ch
ch