[][src]Trait tremor_script::ast::BaseExpr

pub trait BaseExpr: Clone {
    fn mid(&self) -> usize;

    fn s(&self, meta: &NodeMetas) -> Location { ... }
fn e(&self, meta: &NodeMetas) -> Location { ... }
fn extent(&self, meta: &NodeMetas) -> Range { ... } }

A Basic expression that can be turned into a location

Required methods

fn mid(&self) -> usize

Obtain the metadata id of the expression

Loading content...

Provided methods

fn s(&self, meta: &NodeMetas) -> Location

The start location of the expression

fn e(&self, meta: &NodeMetas) -> Location

The end location of the expression

fn extent(&self, meta: &NodeMetas) -> Range

The span (range) of the expression

Loading content...

Implementations on Foreign Types

impl BaseExpr for (Location, Location)[src]

Loading content...

Implementors

impl BaseExpr for OperatorKind[src]

impl BaseExpr for StreamStmt[src]

impl BaseExpr for Range[src]

impl<'script> BaseExpr for GroupBy<'script>[src]

impl<'script> BaseExpr for OperatorDecl<'script>[src]

impl<'script> BaseExpr for OperatorStmt<'script>[src]

impl<'script> BaseExpr for ScriptDecl<'script>[src]

impl<'script> BaseExpr for ScriptStmt<'script>[src]

impl<'script> BaseExpr for Select<'script>[src]

impl<'script> BaseExpr for WindowDecl<'script>[src]

impl<'script> BaseExpr for Ident<'script>[src]

impl<'script> BaseExpr for ImutExpr<'script>[src]

impl<'script> BaseExpr for InvokeAggrFn<'script>[src]

impl<'script> BaseExpr for Literal<'script>[src]

Loading content...