[][src]Module inkling::error::parse::validate

Errors from validating the content of a story that was successfully parsed.

Validation is done in a separate step, after a story has been successfully parsed. This pass will check for errors in expressions, conditions, naming and assignments throughout the entire story. Any invalid types or names will yield a ValidationError.

Structs

InvalidVariableExpression

Error type for invalid variables inside expressions and conditions.

NameSpaceCollision

Error type for name space collisions.

ValidationError

Collection of errors encountered when validating a story.

Enums

CollisionKind

Kind of item that encountered a name space collision.

ExpressionKind

Kind of encountered invalid expression.

InvalidVariableExpressionError

Error variant for invalid variables inside expressions and conditions.