ast

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BooleanLiteral

type BooleanLiteral struct {
	Token token.Token
	Value bool
}

func (*BooleanLiteral) String

func (l *BooleanLiteral) String() string

func (*BooleanLiteral) TokenLiteral

func (l *BooleanLiteral) TokenLiteral() string

type ExecuteStatement

type ExecuteStatement struct {
	Token token.Token
}

func (*ExecuteStatement) String

func (s *ExecuteStatement) String() string

func (*ExecuteStatement) TokenLiteral

func (s *ExecuteStatement) TokenLiteral() string

type Expression

type Expression interface {
	Node
	// contains filtered or unexported methods
}

type ExpressionStatement

type ExpressionStatement struct {
	Token      token.Token
	Expression Expression
}

func (*ExpressionStatement) String

func (e *ExpressionStatement) String() string

func (*ExpressionStatement) TokenLiteral

func (e *ExpressionStatement) TokenLiteral() string

type FloatLiteral

type FloatLiteral struct {
	Token token.Token
	Value float64
}

func (*FloatLiteral) String

func (l *FloatLiteral) String() string

func (*FloatLiteral) TokenLiteral

func (l *FloatLiteral) TokenLiteral() string

type InfixExpression

type InfixExpression struct {
	Token    token.Token
	Left     Expression
	Operator string
	Right    Expression
}

func (*InfixExpression) String

func (e *InfixExpression) String() string

func (*InfixExpression) TokenLiteral

func (e *InfixExpression) TokenLiteral() string

type IntegerLiteral

type IntegerLiteral struct {
	Token token.Token
	Value int64
}

func (*IntegerLiteral) String

func (l *IntegerLiteral) String() string

func (*IntegerLiteral) TokenLiteral

func (l *IntegerLiteral) TokenLiteral() string

type MQL

type MQL struct {
	Statements []Statement
}

func (*MQL) String

func (m *MQL) String() string

func (*MQL) TokenLiteral

func (m *MQL) TokenLiteral() string

type Node

type Node interface {
	TokenLiteral() string
	String() string
}

type PrefixExpression

type PrefixExpression struct {
	Token    token.Token
	Operator string
	Right    Expression
}

func (*PrefixExpression) String

func (e *PrefixExpression) String() string

func (*PrefixExpression) TokenLiteral

func (e *PrefixExpression) TokenLiteral() string

type ProcessAttributeIdentifier

type ProcessAttributeIdentifier struct {
	Token     token.Token
	Attribute string
	Operator  string
	Value     string
}

func (*ProcessAttributeIdentifier) String

func (i *ProcessAttributeIdentifier) String() string

func (*ProcessAttributeIdentifier) TokenLiteral

func (i *ProcessAttributeIdentifier) TokenLiteral() string

type ProcessesSelectionStatement

type ProcessesSelectionStatement struct {
	Token token.Token
}

func (*ProcessesSelectionStatement) String

func (s *ProcessesSelectionStatement) String() string

func (*ProcessesSelectionStatement) TokenLiteral

func (s *ProcessesSelectionStatement) TokenLiteral() string

type SampleAttributeIdentifier

type SampleAttributeIdentifier struct {
	Token     token.Token
	Attribute string
	Operator  string
	Value     string
}

func (*SampleAttributeIdentifier) String

func (i *SampleAttributeIdentifier) String() string

func (*SampleAttributeIdentifier) TokenLiteral

func (i *SampleAttributeIdentifier) TokenLiteral() string

type SamplesSelectionStatement

type SamplesSelectionStatement struct {
	Token token.Token
}

func (*SamplesSelectionStatement) String

func (s *SamplesSelectionStatement) String() string

func (*SamplesSelectionStatement) TokenLiteral

func (s *SamplesSelectionStatement) TokenLiteral() string

type SelectStatement

type SelectStatement struct {
	Token               token.Token
	SelectionStatements []Statement
	WhereStatement      *WhereStatement
}

func (*SelectStatement) String

func (s *SelectStatement) String() string

func (*SelectStatement) TokenLiteral

func (s *SelectStatement) TokenLiteral() string

type Statement

type Statement interface {
	Node
	// contains filtered or unexported methods
}

type StringLiteral

type StringLiteral struct {
	Token token.Token
	Value string
}

func (*StringLiteral) String

func (l *StringLiteral) String() string

func (*StringLiteral) TokenLiteral

func (l *StringLiteral) TokenLiteral() string

type WhereStatement

type WhereStatement struct {
	Token      token.Token
	Expression Expression
}

func (*WhereStatement) String

func (s *WhereStatement) String() string

func (*WhereStatement) TokenLiteral

func (s *WhereStatement) TokenLiteral() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL