tipc
A TIP to LLVM compiler
|
Abstract class for all expression subtypes. More...
#include <ASTExpr.h>
Public Member Functions | |
~ASTExpr ()=default | |
![]() | |
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 | |
![]() | |
virtual std::ostream & | print (std::ostream &out) const =0 |
Abstract class for all expression subtypes.
|
default |