Skip to main content

Module ast

Module ast 

Source
Expand description

Abstract syntax tree (AST) types for parsed DOL queries.

Defines all node types produced by the parser: Query (top-level), Expression (conditions), PipelineNode (transformations), and their supporting enums/structs. All types are Serialize for debugging and analysis.

§Example

use dol::ast::*;
let query = Query::Ping;

Structs§

AggregateExpr
AlertRule
AnalyzeQuery
ComposeQuery
Duration
EventsQuery
InspectQuery
JoinClause
LogsQuery
ObserveQuery
SingularTarget

Enums§

AlertAction
AnalysisTarget
AnalysisVerb
BinOp
CollectionTarget
ComposeTarget
ConfigTarget
DurationUnit
Expression
Operator
PipelineNode
Query
SetValue
SingularTargetKind
SortDirection
TimeSelector
Value