Zen
A cross-platform functional programming language
|
Outer struct for AccessType enumeration. More...
#include <Ast.hpp>
Public Types | |
enum | T { Private, Internal, Protected, Public, Export, Native, Test } |
The access type for any user-defined TypeSpec. More... | |
Static Public Member Functions | |
static bool | isPublic (const T &t) |
returns true is t is visible externally | |
static z::string | getString (const T &t) |
returns the string representation of t |
Outer struct for AccessType enumeration.
enum T |
The access type for any user-defined TypeSpec.
Internal |
TypeSpec is visible only within current compilation unit. |
Protected |
TypeSpec is externally visible only as a reference. |
Public |
TypeSpec is exposed as a pimpl type. |
Export |
TypeSpec is fully exposed externally. |
Native |
unused for now, to be used for dllexport later. |
Test |
TypeSpec has a native implementation. |
returns the string representation of t
t | The AccessType value to convert to string |
static bool isPublic | ( | const T & | t | ) | [inline, static] |
returns true is t is visible externally
t | The AccessType value to check |