Module ast

Module ast 

Source
Expand description

Module for parsing Y programs.

It contains all structs for the internal representation of Y (i.e., the AST).

Structs§

Array
Assignment
Ast
AST, representing a single Y program.
BinaryExpr
Block
Boolean
Call
Character
CompilerDirective
Declaration
Definition
FnDef
Ident
If
Import
Indexing
InlineAssembly
Integer
Param
PostfixExpr
PrefixExpr
Str
TypeAnnotation
UndefinedOpError
UndefinedPrefixOpError
WhileLoop
YParser

Enums§

BinaryOp
Expression
Intrinsic
PostfixOp
PrefixOp
Rule
Statement
Type

Type Aliases§

Position
A position within a file (i.e., line and column)