Skip to main content

Crate rabbitmq_lqt_ql_core

Crate rabbitmq_lqt_ql_core 

Source
Expand description

Core query language parser and autocomplete for RLQT.

This crate provides the parser, AST types, autocomplete data, and error types for the RLQT Query Language. It has no dependencies on rabbitmq-lqt-lib and can be compiled to WebAssembly.

Re-exports§

pub use ast::Duration;
pub use ast::DurationUnit;
pub use ast::Field;
pub use ast::FilterExpr;
pub use ast::LabelMatcher;
pub use ast::MatchOp;
pub use ast::PipelineStage;
pub use ast::Query;
pub use ast::Selector;
pub use ast::SortDirection;
pub use ast::SortSpec;
pub use ast::Value;
pub use errors::Diagnostic;
pub use errors::ParseError;
pub use errors::Span;
pub use presets::PresetName;

Modules§

ast
Abstract Syntax Tree definitions for the RLQT Query Language.
autocomplete
Autocomplete suggestions for the RLQT Query Language.
errors
Error types for the RLQT Query Language parser.
presets
Built-in query presets for common log analysis patterns.

Functions§

parse
parse_filter_only