Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PopulateSymbolTable ¶
func PopulateSymbolTable(file *ast.File, symbols *SymbolTable) error
PopulateSymbolTable ...
Types ¶
type Annotations ¶
Annotations contains any annotations that are relevant to a section of Go code being processed.
type Const ¶
Const represents the information we need from the Go AST for constants. TODO: This isn't really a "Const", it's more specifically a "Kind", isn't it? This looks more like some template data.
type SymbolTable ¶
SymbolTable takes the information we need from the Go AST, and represents it in an easy to access structure for the walker generator.
func NewSymbolTable ¶
func NewSymbolTable() SymbolTable
NewSymbolTable returns a new SymbolTable value with the maps on it initialised.
Click to show internal directories.
Click to hide internal directories.