Joos1W Compiler Framework
All Classes Functions Typedefs Pages
ast::exprnode::LiteralNode Class Referencefinal
Inheritance diagram for ast::exprnode::LiteralNode:

Public Member Functions

 LiteralNode (BumpAllocator &, parsetree::Literal const *node, ast::BuiltInType *type, SourceRange loc)
 
bool isDeclResolved () const override
 
std::ostream & print (std::ostream &os) const override
 
ast::BuiltInType const * builtinType () const
 
uint32_t getAsInt () const
 
auto const & getAsString () const
 
- Public Member Functions inherited from ast::exprnode::ExprValue
 ExprValue (SourceRange loc, ast::Type const *type=nullptr)
 
ast::Decl const * decl () const
 
bool isTypeResolved () const
 
void resolveDeclAndType (ast::Decl const *decl, ast::Type const *type)
 
void overrideDecl (ast::Decl const *decl)
 
ast::Type const * type () const
 
- Public Member Functions inherited from ast::ExprNode
 ExprNode (SourceRange loc)
 
void setNext (ExprNode *new_next_)
 
const ExprNodenext () const
 
ExprNodemut_next () const
 
void dump () const
 
SourceRange location () const
 

Additional Inherited Members

- Protected Member Functions inherited from ast::exprnode::ExprValue
ast::Type const * set_type (ast::Type const *type)
 

Detailed Description

Definition at line 231 of file ExprNode.h.


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