Module compiler

Module compiler 

Source

Re-exports§

pub use category::Category;
pub use expression::Expression;
pub use expression::ExpressionExt;
pub use expression::FunctionExpression;
pub use function::Function;
pub use function::Parameter;
pub use state::TypeInfo;
pub use state::TypeState;
pub use type_def::TypeDef;

Modules§

category
codes
conversion
expression
function
prelude
runtime
state
type_def
TypeDefs
unused_expression_checker
value

Structs§

CompilationResult
CompileConfig
Compiler
The compiler has many compile_* functions. These all accept a state param which should contain the type state of the program immediately before the expression that is being compiled would execute. The state should be modified to reflect the state after the compiled expression executes. This logic lives in Expression::type_info.
Context
DeprecationWarning
Program
ProgramInfo
TargetValue
TargetValueRef

Enums§

ExpressionError
TimeZone
Timezone reference.
VrlRuntime
Available VRL runtimes.

Traits§

SecretTarget
The Secret trait defines methods for managing secret data associated with a Target struct.
Target
Any target object you want to remap using VRL has to implement this trait.

Functions§

compile
Compiles the given source code into the final Program.
compile_with_external
Compiles the given source code with a specified external environment and configuration.
compile_with_state
Compiles the given source code with a specified compilation state and configuration.

Type Aliases§

DiagnosticMessages
Resolved
Result