Expand description
Parser module for GENT - transforms pest CST to AST
Re-exports§
pub use ast::AgentDecl;pub use ast::AgentField;pub use ast::AssignmentStmt;pub use ast::BinaryOp;pub use ast::Block;pub use ast::BlockStmt;pub use ast::Duration;pub use ast::DurationUnit;pub use ast::EnumDecl;pub use ast::EnumField;pub use ast::EnumVariant;pub use ast::Expression;pub use ast::FieldType;pub use ast::FnDecl;pub use ast::ForStmt;pub use ast::IfStmt;pub use ast::ImportStmt;pub use ast::Lambda;pub use ast::LambdaBody;pub use ast::LetStmt;pub use ast::MatchArm;pub use ast::MatchBody;pub use ast::MatchExpr;pub use ast::MatchPattern;pub use ast::OutputType;pub use ast::ParallelDecl;pub use ast::Param;pub use ast::Program;pub use ast::ReturnStmt;pub use ast::Statement;pub use ast::StringPart;pub use ast::StructDecl;pub use ast::StructField;pub use ast::ToolDecl;pub use ast::TopLevelCall;pub use ast::TryStmt;pub use ast::TypeName;pub use ast::UnaryOp;pub use ast::WhileStmt;
Modules§
- ast
- Abstract Syntax Tree definitions for GENT
Functions§
- parse
- Parse GENT source code into an AST