Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityRef ¶
type EntityRef struct {
Pkg string `json:"pkg,omitempty"`
Name string `json:"name,omitempty"`
Meta Meta `json:"meta"`
}
EntityRef is a reference to an entity in the source code
type Location ¶
type Meta ¶
type Meta struct {
Text string `json:"text,omitempty"`
Start Position `json:"start"`
Stop Position `json:"stop"`
// Location must always be present, even for virtual nodes inserted after resugaring,
// because irgen relies on it.
Location Location `json:"location"`
}
Meta contains meta information about the source code
Click to show internal directories.
Click to hide internal directories.