Predicate edges
Holds if target
is a child of source
in the AST, and property key
of the edge has the
given value
.
Import path
import semmle.go.PrintAst
predicate edges(PrintAstNode source, PrintAstNode target, string key, string value)
Holds if target
is a child of source
in the AST, and property key
of the edge has the
given value
.
import semmle.go.PrintAst
predicate edges(PrintAstNode source, PrintAstNode target, string key, string value)