[][src]Trait weld::ast::CompareIgnoringSymbols

pub trait CompareIgnoringSymbols {
    fn compare_ignoring_symbols(
        &self,
        other: &Self
    ) -> Result<bool, WeldCompileError>; }

A trait for symbol-agnostic tree comparison.

Required methods

fn compare_ignoring_symbols(
    &self,
    other: &Self
) -> Result<bool, WeldCompileError>

Compare this expression to other.

Returns whether the two expressions are the same modulo symbol names. Returns an error if an undefined symbol is encountered.

Loading content...

Implementors

impl CompareIgnoringSymbols for Expr[src]

fn compare_ignoring_symbols(
    &self,
    other: &Expr
) -> Result<bool, WeldCompileError>
[src]

Compare this expression to other.

Loading content...