pub struct Parser<'a> {
    pub b: Block<'a>,
    pub function_name: Option<&'a ObjRef>,
    /* private fields */
}
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

Construct a new parser.

Parse and execute a batch of statements.

Parse the definition of a function.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.