Enum reproto_ast::Value [] [src]

pub enum Value<'input> {
    String(String),
    Number(RpNumber),
    Identifier(Cow<'input, str>),
    Array(Vec<Loc<Value<'input>>>),
}

A literal value

For example, "string", 42.0, and foo.

Variants

Trait Implementations

impl<'input> Debug for Value<'input>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'input> PartialEq for Value<'input>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<'input> Eq for Value<'input>
[src]

Auto Trait Implementations

impl<'input> Send for Value<'input>

impl<'input> Sync for Value<'input>