sammine-lang
|
Defined the AST Node classes (ProgramAST, RecordDefAST, FuncDefAST) and a visitor interface for traversing the AST. More...
#include "ast/AstBase.h"
#include "ast/AstDecl.h"
#include "util/Utilities.h"
#include <cassert>
#include <cstddef>
#include <memory>
#include <string>
#include <vector>
Go to the source code of this file.
Classes | |
class | sammine_lang::AST::Printable |
class | sammine_lang::AST::DefinitionAST |
class | sammine_lang::AST::ProgramAST |
class | sammine_lang::AST::TypedVarAST |
class | sammine_lang::AST::PrototypeAST |
A prototype to present "func func_name(...) -> type;". More... | |
class | sammine_lang::AST::ExternAST |
A Function Definition that has the prototype and definition in terms of a block. More... | |
class | sammine_lang::AST::ExprAST |
class | sammine_lang::AST::BlockAST |
An AST to simulate a { } code block. More... | |
class | sammine_lang::AST::FuncDefAST |
class | sammine_lang::AST::RecordDefAST |
class | sammine_lang::AST::VarDefAST |
A variable definition: "var x = expression;". More... | |
class | sammine_lang::AST::NumberExprAST |
class | sammine_lang::AST::StringExprAST |
class | sammine_lang::AST::BoolExprAST |
class | sammine_lang::AST::BinaryExprAST |
class | sammine_lang::AST::ReturnExprAST |
class | sammine_lang::AST::CallExprAST |
class | sammine_lang::AST::UnitExprAST |
class | sammine_lang::AST::IfExprAST |
class | sammine_lang::AST::VariableExprAST |
Typedefs | |
using | sammine_lang::AST::Identifier = std::string |
Defined the AST Node classes (ProgramAST, RecordDefAST, FuncDefAST) and a visitor interface for traversing the AST.