Skip to main content

compile_statement

Function compile_statement 

Source
pub fn compile_statement(stmt: &EvalStmt) -> Result<NativeTree>
Expand description

Compiles a statement that reads no data — a constant, time(), vector(time()), hour() — to a tree without inputs, on the statement’s grid.

A statement that reads a selector is refused: its scan is the caller’s to bind, through compile_selectors.