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

#include <ast.hpp>

Inheritance diagram for logicalOrExpr:
Collaboration diagram for logicalOrExpr:

Public Member Functions

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

Detailed Description

Definition at line 590 of file ast.hpp.

Member Function Documentation

◆ getOp()

vec< lexer::token > & getOp ( )

Definition at line 251 of file ast.cpp.

References logicalOrExpr::ops.

Referenced by visitor::visit().

Here is the caller graph for this function:

◆ getTerms()

vec< logicalAndExpr * > & getTerms ( )

Definition at line 247 of file ast.cpp.

References logicalOrExpr::terms.

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

Here is the caller graph for this function:

◆ operator bool()

operator bool ( ) const

Definition at line 255 of file ast.cpp.

Member Data Documentation

◆ ops

Definition at line 593 of file ast.hpp.

Referenced by logicalOrExpr::getOp().

◆ terms

vec<logicalAndExpr *> terms

Definition at line 592 of file ast.hpp.

Referenced by logicalOrExpr::getTerms().


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