hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
funcTypeSpec Class Reference

#include <ast.hpp>

Inheritance diagram for funcTypeSpec:
Collaboration diagram for funcTypeSpec:

Public Member Functions

unnamedDefinitionArgumentsgetArgs () const
 
typeSpecgetResultType () const
 
- Public Member Functions inherited from AST
 AST ()
 
 AST (lexer::token token)
 
std::tuple< yoi::indexT, yoi::indexTgetLocation ()
 
yoi::indexT getLine ()
 
yoi::indexT getColumn ()
 
yoi::lexer::tokengetToken ()
 

Public Attributes

unnamedDefinitionArgumentsargs
 
typeSpecresultType
 

Detailed Description

Definition at line 318 of file ast.hpp.

Member Function Documentation

◆ getArgs()

unnamedDefinitionArguments & getArgs ( ) const

Definition at line 47 of file ast.cpp.

References funcTypeSpec::args.

◆ getResultType()

typeSpec & getResultType ( ) const

Definition at line 51 of file ast.cpp.

References funcTypeSpec::resultType.

Member Data Documentation

◆ args

◆ resultType

typeSpec* resultType

Definition at line 321 of file ast.hpp.

Referenced by yoi::finalizeAST(), Formatter::format(), and funcTypeSpec::getResultType().


The documentation for this class was generated from the following files: