topazc
AST::VarExpr Class Reference

Variable expression container. More...

#include <ast.hpp>

Inheritance diagram for AST::VarExpr:
Collaboration diagram for AST::VarExpr:

Public Member Functions

 VarExpr (std::string n, uint32_t l)
 ~VarExpr () override=default
Public Member Functions inherited from AST::Expr
 Expr (uint32_t l)
virtual ~Expr ()=default

Public Attributes

std::string name
Public Attributes inherited from AST::Expr
uint32_t line

Detailed Description

Variable expression container.

Is the container of variable expression (aka <var_name>)

Definition at line 248 of file ast.hpp.

Constructor & Destructor Documentation

◆ VarExpr()

AST::VarExpr::VarExpr ( std::string n,
uint32_t l )
inline

Definition at line 252 of file ast.hpp.

Here is the call graph for this function:

◆ ~VarExpr()

AST::VarExpr::~VarExpr ( )
overridedefault

Member Data Documentation

◆ name

std::string AST::VarExpr::name

Variable name

Definition at line 250 of file ast.hpp.


The documentation for this class was generated from the following file:
  • /mnt/disk_ext4_0/topazlang/include/parser/ast.hpp