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

#include <ast.hpp>

Inheritance diagram for mulExpr:
Collaboration diagram for mulExpr:

Public Member Functions

vec< leftExpr * > & getTerms ()
 
vec< lexer::token > & getOp ()
 
 operator bool () 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

vec< leftExpr * > terms
 
vec< lexer::tokenops
 

Detailed Description

Definition at line 482 of file ast.hpp.

Member Function Documentation

◆ getOp()

vec< lexer::token > & getOp ( )

Definition at line 143 of file ast.cpp.

References mulExpr::ops.

Referenced by visitor::visit().

Here is the caller graph for this function:

◆ getTerms()

vec< leftExpr * > & getTerms ( )

Definition at line 139 of file ast.cpp.

References mulExpr::terms.

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

Here is the caller graph for this function:

◆ operator bool()

operator bool ( ) const

Definition at line 147 of file ast.cpp.

Member Data Documentation

◆ ops

Definition at line 485 of file ast.hpp.

Referenced by mulExpr::getOp().

◆ terms

vec<leftExpr *> terms

Definition at line 484 of file ast.hpp.

Referenced by mulExpr::getTerms().


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