# Functions
No description provided by the author
No description provided by the author
Check will inspect each node and annotate it with any AST errors.
No description provided by the author
No description provided by the author
No description provided by the author
Duration gives you a DurationLiteral from a time.Duration.
No description provided by the author
No description provided by the author
GetError will return the first error within an AST.
GetErrors will return each of the errors within an AST.
No description provided by the author
No description provided by the author
LogicalOperatorLookup converts the operators to LogicalOperatorKind.
OperatorLookup converts the operators to OperatorKind.
PrintErrors will format the errors within the AST and output them to the writer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Walk recursively visits every children of a given `Node` given a `Visitor`.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
LogicalOperatorTokens converts LogicalOperatorKind to string.
OperatorTokens converts OperatorKind to string.
# Structs
ArrayExpression is used to create and directly specify the elements of an array object.
ArrayExpr is used to create and directly specify the elements of an array object.
No description provided by the author
BadStatement is a placeholder for statements for which no correct statement nodes can be created.
BaseNode holds the attributes every expression or statement should have.
BinaryExpression use binary operators act on two operands in an expression.
Block is a set of statements.
BooleanLiteral represent boolean values.
BuiltinStatement declares a builtin identifier and its type.
CallExpression represents a function call.
No description provided by the author
ConditionalExpression selects one of two expressions, `Alternate` or `Consequent` depending on a third, boolean, expression, `Test`.
DateTimeLiteral represents an instant in time with nanosecond precision using the syntax of golang's RFC3339 Nanosecond variant TODO: this may be better as a class initialization.
DictExpression represents dictionary literals.
DictItem represents a key value pair of a dictionary literal.
No description provided by the author
Duration is a pair consisting of length of time and the unit of time measured.
DurationLiteral represents the elapsed time between two instants as an int64 nanosecond count with syntax of golang's time.Duration TODO: this may be better as a class initialization.
No description provided by the author
Error represents an error in the AST construction.
ExpressionStatement may consist of an expression that does not return a value and is executed solely for its side-effects.
File represents a source from a single file.
FloatLiteral represent floating point numbers according to the double representations defined by the IEEE-754-1985.
No description provided by the author
No description provided by the author
Identifier represents a name that identifies a unique Node.
ImportDeclaration declares a single import.
IndexExpression represents indexing into an array.
IntegerLiteral represent integer numbers.
No description provided by the author
LabelLiteral expressions begin and end with double quote marks.
LogicalExpression represent the rule conditions that collectively evaluate to either true or false.
No description provided by the author
MemberExpression represents calling a property of a CallExpression.
No description provided by the author
ObjectExpression allows the declaration of an anonymous object within a declaration.
OptionStatement syntactically is a single variable declaration.
Package represents a complete package source tree.
PackageClause defines the current package identifier.
No description provided by the author
ParenExpression represents an expressions that is wrapped in parentheses in the source code.
No description provided by the author
PipeLiteral represents an specialized literal value, indicating the left hand value of a pipe expression.
Position represents a specific location in the source.
Property is the value associated with a key.
No description provided by the author
No description provided by the author
RegexpLiteral expressions begin and end with `/` and are regular expressions with syntax accepted by RE2.
ReturnStatement defines an Expression to return.
SourceLocation represents the location of a node in the AST.
No description provided by the author
No description provided by the author
StringLiteral expressions begin and end with double quote marks.
TestCaseStatement declares a Flux test case.
TestStatement declares a Flux test case.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnaryExpression use operators act on a single operand in an expression.
UnsignedIntegerLiteral represent integer numbers.
VariableAssignment represents the declaration of a variable.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
Expression represents an action that can be performed by InfluxDB that can be evaluated to a value.
Literal is the lexical form for a literal expression which defines boolean, string, integer, number, duration, datetime or field values.
No description provided by the author
Node represents a node in the InfluxDB abstract syntax tree.
PropertyKey represents an object key.
Statement Perhaps we don't even want statements nor expression statements.
No description provided by the author
Visitor implements the visitor pattern.
# Type aliases
LogicalOperatorKind are used with boolean (logical) values.
OperatorKind are Equality and Arithmatic operators.
No description provided by the author