Struct ucglib::build::Builder[][src]

pub struct Builder<'a> {
    pub assert_collector: AssertCollector,
    pub last: Option<Rc<Val>>,
    pub out_lock: Option<(String, Rc<Val>)>,
    // some fields omitted
}

Builder handles building ucg code for a single file..

Fields

last is the result of the last statement.

Methods

impl<'a> Builder<'a>
[src]

Constructs a new Builder.

Constructs a new Builder with a provided scope.

Returns a Val by name from previously built UCG.

Puts the builder in validation mode.

Among other things this means that assertions will be evaluated and their results will be saved in a report for later output.

Builds a list of parsed UCG Statements.

Evaluate an input string as UCG.

Builds a ucg file at the named path.

Auto Trait Implementations

impl<'a> !Send for Builder<'a>

impl<'a> !Sync for Builder<'a>