Enum stache::Statement [] [src]

pub enum Statement {
    Program(Block),
    Section(PathBlock),
    Inverted(PathBlock),
    Variable(Path),
    Html(Path),
    Partial(String),
    Content(String),
    Comment(String),
}

Variants

Methods

impl Statement
[src]

Parses the Mustache text into a Statement AST.

Visits each node in the tree collecting the names of partials referenced by the template.

Trait Implementations

impl Debug for Statement
[src]

Formats the value using the given formatter.

impl PartialEq for Statement
[src]

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

This method tests for !=.