Phasor 3.1.1
Stack VM based Programming Language
Loading...
Searching...
No Matches
Phasor::AST::IdentifierExpr Struct Reference

Identifier Expression Node. More...

#include <AST.hpp>

Inheritance diagram for Phasor::AST::IdentifierExpr:
[legend]
Collaboration diagram for Phasor::AST::IdentifierExpr:
[legend]

Public Member Functions

 IdentifierExpr (std::string n)
void print (int indent=0) const override
Public Member Functions inherited from Phasor::AST::Node
virtual ~Node ()=default

Public Attributes

std::string name
Public Attributes inherited from Phasor::AST::Node
size_t line = 0
size_t column = 0

Detailed Description

Identifier Expression Node.

Definition at line 123 of file AST.hpp.

Constructor & Destructor Documentation

◆ IdentifierExpr()

Phasor::AST::IdentifierExpr::IdentifierExpr ( std::string n)
inline

Definition at line 126 of file AST.hpp.

Member Function Documentation

◆ print()

void Phasor::AST::IdentifierExpr::print ( int indent = 0) const
inlineoverridevirtual

Implements Phasor::AST::Node.

Definition at line 129 of file AST.hpp.

Member Data Documentation

◆ name

std::string Phasor::AST::IdentifierExpr::name

Definition at line 125 of file AST.hpp.


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