[][src]Enum pwfr::core::ebuild::efile::Span

pub enum Span {
    Literal(String),
    LiteralChars(Vec<LiteralChar>),
    Tilde(Option<String>),
    Parameter {
        name: String,
        op: ExpansionOp,
        quoted: bool,
    },
    ArrayParameter {
        name: String,
        index: Expr,
        quoted: bool,
    },
    Command {
        body: Vec<Term>,
        quoted: bool,
    },
    ProcSubst {
        body: Vec<Term>,
        subst_type: ProcSubstType,
    },
    ArithExpr {
        expr: Expr,
    },
    AnyString {
        quoted: bool,
    },
    AnyChar {
        quoted: bool,
    },
}

Variants

Literal(String)
LiteralChars(Vec<LiteralChar>)
Tilde(Option<String>)
Parameter

Fields of Parameter

name: Stringop: ExpansionOpquoted: bool
ArrayParameter

Fields of ArrayParameter

name: Stringindex: Exprquoted: bool
Command

Fields of Command

body: Vec<Term>quoted: bool
ProcSubst

Fields of ProcSubst

body: Vec<Term>subst_type: ProcSubstType
ArithExpr

Fields of ArithExpr

expr: Expr
AnyString

Fields of AnyString

quoted: bool
AnyChar

Fields of AnyChar

quoted: bool

Trait Implementations

impl Clone for Span[src]

impl Eq for Span[src]

impl PartialEq<Span> for Span[src]

impl Debug for Span[src]

Auto Trait Implementations

impl Send for Span

impl Sync for Span

impl Unpin for Span

impl UnwindSafe for Span

impl RefUnwindSafe for Span

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]