Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
IR::GlobalType Struct Reference

#include <Types.h>

Public Member Functions

 GlobalType ()
 
 GlobalType (ValueType inValueType, bool inIsMutable)
 

Public Attributes

ValueType valueType
 
bool isMutable
 

Friends

bool operator== (const GlobalType &left, const GlobalType &right)
 
bool operator!= (const GlobalType &left, const GlobalType &right)
 
bool operator<= (const GlobalType &left, const GlobalType &right)
 
bool operator> (const GlobalType &left, const GlobalType &right)
 

Detailed Description

Definition at line 285 of file Types.h.

Constructor & Destructor Documentation

◆ GlobalType() [1/2]

IR::GlobalType::GlobalType ( )
inline

Definition at line 290 of file Types.h.

ValueType valueType
Definition Types.h:287
bool isMutable
Definition Types.h:288

◆ GlobalType() [2/2]

IR::GlobalType::GlobalType ( ValueType inValueType,
bool inIsMutable )
inline

Definition at line 291 of file Types.h.

291: valueType(inValueType), isMutable(inIsMutable) {}

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const GlobalType & left,
const GlobalType & right )
friend

Definition at line 294 of file Types.h.

294{ return left.valueType != right.valueType || left.isMutable != right.isMutable; }

◆ operator<=

bool operator<= ( const GlobalType & left,
const GlobalType & right )
friend

Definition at line 295 of file Types.h.

295{ return left.valueType == right.valueType && left.isMutable == right.isMutable; }

◆ operator==

bool operator== ( const GlobalType & left,
const GlobalType & right )
friend

Definition at line 293 of file Types.h.

293{ return left.valueType == right.valueType && left.isMutable == right.isMutable; }

◆ operator>

bool operator> ( const GlobalType & left,
const GlobalType & right )
friend

Definition at line 296 of file Types.h.

296{ return !(left <= right); }

Member Data Documentation

◆ isMutable

bool IR::GlobalType::isMutable

Definition at line 288 of file Types.h.

◆ valueType

ValueType IR::GlobalType::valueType

Definition at line 287 of file Types.h.


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