Skip to main content

OperatorInfoRead

Trait OperatorInfoRead 

Source
pub trait OperatorInfoRead {
    // Required method
    fn get_operator_op(
        &self,
        name: &OperatorName,
        has_left: bool,
        has_right: bool,
    ) -> Option<&OperatorDefinition>;
}
Expand description

get operator definition

Required Methods§

Source

fn get_operator_op( &self, name: &OperatorName, has_left: bool, has_right: bool, ) -> Option<&OperatorDefinition>

get operator definition,

has_left, has_right both true then returns Binary operator. one of has_left, has_right is ture then returns Left unary or Right unary operator.

Implementors§

Source§

impl OperatorInfoRead for BaseContext

Source§

impl<TBaseContext> OperatorInfoRead for SchemaFileContext<TBaseContext>
where TBaseContext: BaseParseContext + Debug,

Source§

impl<TContext> OperatorInfoRead for ParsedSchemaDump<TContext>
where TContext: BaseParseContext + Debug,