[][src]Trait erl_parse::traits::Expect

pub trait Expect: Sized {
type Value: ?Sized + Debug;
    fn expect(&self, expected: &Self::Value) -> Result<()>;
}

Associated Types

type Value: ?Sized + Debug

Loading content...

Required methods

fn expect(&self, expected: &Self::Value) -> Result<()>

Loading content...

Implementations on Foreign Types

impl Expect for AtomToken[src]

type Value = str

impl Expect for CharToken[src]

type Value = char

impl Expect for FloatToken[src]

type Value = f64

impl Expect for IntegerToken[src]

type Value = BigUint

impl Expect for KeywordToken[src]

type Value = Keyword

impl Expect for StringToken[src]

type Value = str

impl Expect for SymbolToken[src]

type Value = Symbol

impl Expect for VariableToken[src]

type Value = str

Loading content...

Implementors

Loading content...