Module ast

Module ast 

Source

Structs§

Arg
A Argument.
AssignmentStatement
A assignment statement. This is a assignment of a value to a ident. The value is a expression.
Block
A Block. A block is a list of statements.
FunctionCallExpression
A function call expression.
FunctionStatement
A function statement.
Ident
A Ident.
Param
A Param.
ReturnStatement
A return statement.
Span
A span.

Enums§

ExpressionStatement
A Expression statement.
ObjectExpression
A object expression.
Statement
A statement.
ValueExpression
A value expression.
Visibility
A visibility, which is public or private.

Traits§

ASTNodeSpan
Returns the span of the given AST node.

Type Aliases§

Program
The program. Is only contains a lables and functions.