[−][src]Module piske::ast::ast
Main abstract syntax tree specification for the piske programming language. This
hererogeneous node tree is annotated with an arbitrary annotation node type A
.
This abstract syntax tree is constructed by the rust-peg parser, and annotated by the AST visitors.
Structs
Block | Statement block is simply a list of statements. |
FunctionDef | Definition of a function. |
Parameter | Function parameter (used in function definitions). |
Program | Root-level program. Only contains a statement block. |
Enums
CompareOp | Comparison operations |
Expression | Valid expressions in the piske programming language. |
InfixOp | Valid infix operations |
Literal | Supported literals |
PostfixOp | Valid postfix operations |
PrefixOp | Valid prefix operations |
Set | Set (collection) structure |
Statement | The various allowed statements in the piske programming language. |