Struct rustdb::parse::Parser [−][src]
pub struct Parser<'a> {
pub b: Block<'a>,
pub function_name: Option<&'a ObjRef>,
// some fields omitted
}
Expand description
SQL parser.
Name convention for methods:
s_ parses a statement.
exp_ parses an expression.
Fields
b: Block<'a>
Block information - local labels, jumps, instructions etc.
function_name: Option<&'a ObjRef>
Name of function being compiled ( None if batch ).
Implementations
Parse and execute a batch of statements.
Parse the definition of a function.
Construct SqlError based on current line/column/rname.