Phasor 2.2.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
Phasor::AST::NumberExpr Struct Reference

Numeral Expression Node. More...

#include <AST.hpp>

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

Public Member Functions

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

Public Attributes

std::string value

Detailed Description

Numeral Expression Node.

Definition at line 69 of file AST.hpp.

Constructor & Destructor Documentation

◆ NumberExpr()

Phasor::AST::NumberExpr::NumberExpr ( std::string v)
inline

Definition at line 72 of file AST.hpp.

Member Function Documentation

◆ print()

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

Implements Phasor::AST::Node.

Definition at line 75 of file AST.hpp.

Member Data Documentation

◆ value

std::string Phasor::AST::NumberExpr::value

Definition at line 71 of file AST.hpp.


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