Struct reproto_trans::environment::Environment [] [src]

pub struct Environment { /* fields omitted */ }

Scoped environment for evaluating reproto IDLs.

Methods

impl Environment
[src]

Environment containing all loaded declarations.

[src]

Construct a new, language-neutral environment.

[src]

Configure a new environment on how to use safe packages or not.

[src]

Build the environment with the given keywords.

[src]

Set package naming policy.

[src]

Set field naming policy.

[src]

Lookup the declaration matching the given name.

Returns the registered reference, if present.

[src]

Import a path into the environment.

[src]

Import an object into the environment.

[src]

Import a single, structured file object.

[src]

Import a package based on a package and version criteria.

[src]

Verify all declarations.

Important traits for ForEachFile<'a>
[src]

Iterate over all files.

Important traits for ToplevelDeclIter<'a>
[src]

Iterate over top level declarations of all registered objects.

Important traits for DeclIter<'a>
[src]

Walks the entire tree of declarations recursively of all registered objects.

[src]

Load the provided Object into an RpFile without registering it to the set of visited files.

Trait Implementations

Auto Trait Implementations

impl !Send for Environment

impl !Sync for Environment