Module PrintAst
Provides queries to pretty-print a Go AST as a graph.
Import path
import semmle.go.PrintAst
Imports
go | Provides classes for working with Go programs. |
Predicates
edges | Holds if |
graphProperties | Holds if property |
nodes | Holds if |
Classes
BaseAstNode | A graph node representing a real AST node. |
ExprNode | A node representing an |
FileNode | A node representing a |
PrintAstConfiguration | A hook to customize the files and functions printed by this module. |
PrintAstNode | A node in the output tree. |