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,omitempty"`
}
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,omitempty"`
Stop Position `json:"stop,omitempty"`
Location Location `json:"location,omitempty"` // Location must always be present, even for virtual nodes inserted after resugaring, because irgen relies on it.
}
Meta contains meta information about the source code
Click to show internal directories.
Click to hide internal directories.