topazc
SemanticAnalyzer::Value Struct Reference

Structure of value. More...

Collaboration diagram for SemanticAnalyzer::Value:

Public Member Functions

 Value (AST::Type t, AST::Value v, bool vu, bool il)

Public Attributes

AST::Type type
AST::Value value
bool is_value_unknown
bool is_literal

Detailed Description

Structure of value.

Definition at line 43 of file semantic.hpp.

Constructor & Destructor Documentation

◆ Value()

SemanticAnalyzer::Value::Value ( AST::Type t,
AST::Value v,
bool vu,
bool il )
inline

Definition at line 49 of file semantic.hpp.

Member Data Documentation

◆ is_literal

bool SemanticAnalyzer::Value::is_literal

Is the value the result of an operation on literals

Definition at line 47 of file semantic.hpp.

◆ is_value_unknown

bool SemanticAnalyzer::Value::is_value_unknown

Is the value the unknown at the compilation time (for example I/O value)

Definition at line 46 of file semantic.hpp.

◆ type

AST::Type SemanticAnalyzer::Value::type

Type of value

Definition at line 44 of file semantic.hpp.

◆ value

AST::Value SemanticAnalyzer::Value::value

Primitive value

Definition at line 45 of file semantic.hpp.


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