Struct reproto_backend::Environment [] [src]

pub struct Environment { /* fields omitted */ }

Scoped environment for evaluating ReProto IDLs.

Methods

impl Environment
[src]

Environment containing all loaded declarations.

[src]

[src]

Check if source is assignable to target.

[src]

Lookup the declaration matching the given name.

Returns the registered reference, if present.

[src]

Load the provided Object into a RpFile and identify which package and version it belongs to.

[src]

Process use declarations found at the top of each object.

[src]

Iterate over top level declarations of all registered objects.

[src]

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

[src]

Process, register, and merge declarations.

Declarations are considered the same if they have the same qualified name. The same declarations are merged using Merge.

[src]

Process all declarations and convert into a global collection of registered types.

[src]

[src]

[src]

Import a package based on a package and version criteria.

[src]

Verify all declarations.