|
sammine-lang
|
A prototype to present "func func_name(...) -> type;". More...
#include <Ast.h>


Public Member Functions | |
| PrototypeAST (std::shared_ptr< Token > functionName, std::shared_ptr< Token > returnType, std::vector< std::unique_ptr< AST::TypedVarAST > > parameterVectors) | |
| PrototypeAST (std::shared_ptr< Token > functionName, std::vector< std::unique_ptr< AST::TypedVarAST > > parameterVectors) | |
| virtual std::string | getTreeName () override |
| void | accept_vis (ASTVisitor *visitor) override |
| virtual void | walk_with_preorder (ASTVisitor *visitor) override |
| virtual void | walk_with_postorder (ASTVisitor *visitor) override |
| virtual Type | accept_synthesis (TypeCheckerVisitor *visitor) override |
Public Member Functions inherited from sammine_lang::AST::AstBase | |
| AstBase * | join_location (AstBase *ast) |
| AstBase * | join_location (std::shared_ptr< Token > tok) |
| AstBase * | join_location (sammine_util::Location location) |
| sammine_util::Location | get_location () |
| bool | synthesized () const |
| bool | checked () const |
| void | set_checked () |
Public Attributes | |
| llvm::Function * | function |
| std::string | functionName |
| std::string | returnType |
| std::vector< std::unique_ptr< AST::TypedVarAST > > | parameterVectors |
Public Attributes inherited from sammine_lang::AST::AstBase | |
| bool | pe = false |
| llvm::Value * | val |
| Type | type = Type::NonExistent() |
Additional Inherited Members | |
Protected Attributes inherited from sammine_lang::AST::AstBase | |
| sammine_util::Location | location |
A prototype to present "func func_name(...) -> type;".
|
inlineoverridevirtual |
Implements sammine_lang::AST::Visitable.
|
inlineoverridevirtual |
Implements sammine_lang::AST::Visitable.
|
inlineoverridevirtual |
Implements sammine_lang::AST::Visitable.
|
inlineoverridevirtual |
Implements sammine_lang::AST::Visitable.
|
inlineoverridevirtual |
Implements sammine_lang::AST::Visitable.