Module lualite::ast

source · []
Expand description

Abstract Syntax Tree types

These types have no inherent methods or functions on them, instead they represent a state in the parse -> compile -> interpret pipeline.

They are the output of the parser and the input of the compiler. More information on how source code is mapped to AST components can be found in the parser documentation.

Structs

Boolean literal

Float literal

Function declaration and definition

Identifier for local variable names, function names, statics, etc.

Integer literal

Static variable/constant declaration

String literal

Enums

Binary Operators

Top-level declarations in a file

Expression in a statement

Statement in a function

Unary operators