Documentation
¶
Overview ¶
Package ast provides available ast nodes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Base ¶
type Base struct {
Loc *Location
}
Base contains shared node attributes each node should inherit from this
type BooleanNode ¶
BooleanNode represents a bool value
type DateTimeNode ¶
type DateTimeNode struct {
*Base
Key string
Operator *OperatorNode
Value time.Time
}
DateTimeNode represents a time.Time value
type Location ¶
type Location struct {
Start Position `json:"start"`
End Position `json:"end"`
Source *string `json:"source,omitempty"`
}
Location represents the location of a node in the AST
type OperatorNode ¶
OperatorNode represents an operator value like AND, OR, NOT, =, <= ... and so on
type StringNode ¶
StringNode represents a string value
Click to show internal directories.
Click to hide internal directories.