tipc
A TIP to LLVM compiler
Public Member Functions | List of all members
ASTExpr Class Reference

Abstract class for all expression subtypes. More...

#include <ASTExpr.h>

Inheritance diagram for ASTExpr:
Inheritance graph
[legend]
Collaboration diagram for ASTExpr:
Collaboration graph
[legend]

Public Member Functions

 ~ASTExpr ()=default
 
- Public Member Functions inherited from ASTNode
virtual ~ASTNode ()=default
 
virtual void accept (ASTVisitor *visitor)=0
 Visit the children of this node and apply the visitor. More...
 
virtual llvm::Value * codegen ()=0
 Perform code generation and return an LLVM value the code. More...
 
virtual std::vector< std::shared_ptr< ASTNode > > getChildren ()
 Return all of the children for the node. More...
 
void setLocation (int l, int c)
 
int getLine ()
 
int getColumn ()
 

Additional Inherited Members

- Protected Member Functions inherited from ASTNode
virtual std::ostream & print (std::ostream &out) const =0
 

Detailed Description

Abstract class for all expression subtypes.

Constructor & Destructor Documentation

◆ ~ASTExpr()

ASTExpr::~ASTExpr ( )
default

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