![]() |
linc 0.7
Linc is a general-purpose programming language inspired by C
|
Public Types | |
| enum class | Kind : unsigned char { Invalid , Void , Boolean , Character , Unsigned , Signed , Float , Double , String , Type } |
Public Member Functions | |
| PrimitiveValue (Types::_bool value) | |
| PrimitiveValue (Types::_char value) | |
| PrimitiveValue (Types::u8 value) | |
| PrimitiveValue (Types::i8 value) | |
| PrimitiveValue (Types::u16 value) | |
| PrimitiveValue (Types::i16 value) | |
| PrimitiveValue (Types::u32 value) | |
| PrimitiveValue (Types::i32 value) | |
| PrimitiveValue (Types::u64 value) | |
| PrimitiveValue (Types::i64 value) | |
| PrimitiveValue (Types::f32 value) | |
| PrimitiveValue (Types::f64 value) | |
| PrimitiveValue (const Types::string &value) | |
| PrimitiveValue (const Types::type &value) | |
| PrimitiveValue (PrimitiveValue &&other) | |
| PrimitiveValue (const PrimitiveValue &other) | |
| PrimitiveValue & | operator= (const PrimitiveValue &other) |
| PrimitiveValue & | operator= (PrimitiveValue &&other) |
| bool | isZero () |
| PrimitiveValue | operator+ (const PrimitiveValue &_other) const |
| PrimitiveValue | operator% (const PrimitiveValue &_other) const |
| Types::Variant | toVariant () const |
| PrimitiveValue | convert (Kind kind) const |
| PrimitiveValue | convert (Types::Kind kind) const |
| template<typename T > | |
| T | convert () const |
| Types::string | toApplicationString () const |
| Types::string | toString () const |
| Kind | getKind () const |
Static Public Member Functions | |
| static PrimitiveValue | fromDefault (Types::Kind kind) |
| static bool | stringToBool (const std::string &value) |
| static PrimitiveValue | fromString (const std::string &value, Types::Kind type) |
Static Public Attributes | |
| static const PrimitiveValue | invalidValue |
| static const PrimitiveValue | voidValue |