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

#include <ast.hpp>

Inheritance diagram for returnStmt:
Collaboration diagram for returnStmt:

Public Member Functions

rExprgetValue ()
 
bool hasValue () 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

rExprvalue
 

Detailed Description

Definition at line 897 of file ast.hpp.

Member Function Documentation

◆ getValue()

rExpr & getValue ( )

Definition at line 455 of file ast.cpp.

◆ hasValue()

bool hasValue ( ) const

Definition at line 459 of file ast.cpp.

Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().

Here is the caller graph for this function:

Member Data Documentation

◆ value

rExpr* value

Definition at line 899 of file ast.hpp.

Referenced by yoi::finalizeAST(), Formatter::format(), and visitor::visit().


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