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

#include <ast.hpp>

Inheritance diagram for andExpr:
Collaboration diagram for andExpr:

Public Member Functions

vec< equalityExpr * > & 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< equalityExpr * > terms
 
vec< lexer::tokenops
 

Detailed Description

Definition at line 542 of file ast.hpp.

Member Function Documentation

◆ getOp()

vec< lexer::token > & getOp ( )

Definition at line 203 of file ast.cpp.

References andExpr::ops.

Referenced by visitor::visit().

Here is the caller graph for this function:

◆ getTerms()

vec< equalityExpr * > & getTerms ( )

Definition at line 199 of file ast.cpp.

References andExpr::terms.

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

Here is the caller graph for this function:

◆ operator bool()

operator bool ( ) const

Definition at line 207 of file ast.cpp.

Member Data Documentation

◆ ops

Definition at line 545 of file ast.hpp.

Referenced by andExpr::getOp().

◆ terms

vec<equalityExpr *> terms

Definition at line 544 of file ast.hpp.

Referenced by andExpr::getTerms().


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