Skip to main content

Crate webots_proto

Crate webots_proto 

Source

Re-exports§

pub use webots_proto_ast as ast;
pub use webots_proto_resolver as resolver;
pub use webots_proto_schema as schema;

Modules§

r2025a
types

Structs§

AstNode
A node in the AST (e.g., Robot { ... } or USE name).
Diagnostic
A diagnostic message with location information.
DiagnosticSet
A collection of diagnostics.
NodeSchema
A Webots node schema.
Proto
Represents a complete PROTO document.
ProtoResolver
PROTO resolver for expanding EXTERNPROTO dependencies.
RenderContext
RenderOptions
RenderWebotsVersion
ResolveOptions
Configuration options for PROTO resolution.
SchemaField
A Webots node schema field definition.
TemplateContext
Fixed metadata keys exposed to templates as context.
TemplateEvaluator
TemplateFieldBinding
Represents a single PROTO field exposed to templates.
TemplateWebotsVersion
Represents the Webots runtime version exposed via the context object.
ValidationContext
Validation context to track DEF/USE and interface fields.
ValidationOptions

Enums§

Error
FieldValue
The value of a field.
SchemaError
Severity
The severity of a diagnostic.
TemplateError
TemplateField
Represents a Webots field type with its value.

Traits§

ProtoExt

Functions§

ast_to_r2025a_node
r2025a_node_to_ast
validate
validate_with_options

Type Aliases§

Result
SchemaResult