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

#include <ast.hpp>

Inheritance diagram for abstractExpr:
Collaboration diagram for abstractExpr:

Public Member Functions

primarygetLhs () const
 
lexer::tokengetOp ()
 
externModuleAccessExpressiongetRhs () 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

primarylhs
 
lexer::token op
 
externModuleAccessExpressionrhs
 

Detailed Description

Definition at line 442 of file ast.hpp.

Member Function Documentation

◆ getLhs()

primary & getLhs ( ) const

Definition at line 1139 of file ast.cpp.

References abstractExpr::lhs.

◆ getOp()

lexer::token & getOp ( )

Definition at line 1142 of file ast.cpp.

References abstractExpr::op.

◆ getRhs()

externModuleAccessExpression & getRhs ( ) const

Definition at line 1145 of file ast.cpp.

References abstractExpr::rhs.

Member Data Documentation

◆ lhs

primary* lhs

Definition at line 444 of file ast.hpp.

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

◆ op

Definition at line 445 of file ast.hpp.

Referenced by Formatter::format(), abstractExpr::getOp(), and visitor::visit().

◆ rhs


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