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

#include <ast.hpp>

Inheritance diagram for letAssignmentPair:
Collaboration diagram for letAssignmentPair:

Public Member Functions

letAssignmentPairLHSgetLhs ()
 
rExprgetRhs ()
 
- 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

letAssignmentPairLHSlhs
 
typeSpectype
 
rExprrhs
 

Detailed Description

Definition at line 774 of file ast.hpp.

Member Function Documentation

◆ getLhs()

letAssignmentPairLHS & getLhs ( )

Definition at line 375 of file ast.cpp.

References letAssignmentPair::lhs.

◆ getRhs()

rExpr & getRhs ( )

Definition at line 379 of file ast.cpp.

References letAssignmentPair::rhs.

Member Data Documentation

◆ lhs

◆ rhs

rExpr* rhs

Definition at line 778 of file ast.hpp.

Referenced by yoi::finalizeAST(), Formatter::format(), and letAssignmentPair::getRhs().

◆ type

typeSpec* type

Definition at line 777 of file ast.hpp.

Referenced by Formatter::format().


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