package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Oct 16, 2021
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ast declares the types used to represent syntax trees.
type Index struct {
ValuePos int
X Node
Index int
}
An Index node represents an expression followed by an index.
type Node interface {
Pos() int
}
All node types implement the Node interface.
A Selector node represents an expression followed by a selector.
Pos returns the position of first character belonging to the node.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.