![]() |
linc 0.7
Linc is a general-purpose programming language inspired by C
|
Public Types | |
| enum class | Kind : char { Invalid , Primitive , Array , Structure , Enumerator } |
Public Member Functions | |
| Value (const PrimitiveValue &value) | |
| Value (const ArrayValue &value) | |
| Value (const EnumeratorValue &value) | |
| Value (const std::vector< Value > &value) | |
| Value (const Value &other) | |
| Value & | operator= (const Value &other) |
| Value (Value &&other) | |
| Value & | operator= (Value &&other) |
| Value | operator+ (const Value &other) const |
| const PrimitiveValue & | getPrimitive () const |
| const ArrayValue & | getArray () const |
| const std::vector< Value > & | getStructure () const |
| PrimitiveValue & | getPrimitive () |
| ArrayValue & | getArray () |
| std::vector< Value > & | getStructure () |
| EnumeratorValue & | getEnumerator () |
| std::optional< PrimitiveValue > | getIfPrimitive () const |
| std::optional< ArrayValue > | getIfArray () const |
| std::optional< std::vector< Value > > | getIfStructure () const |
| std::optional< EnumeratorValue > | getIfEnumerator () const |
| std::string | toApplicationString () const |
| std::string | toString () const |
Static Public Member Functions | |
| static Value | fromDefault (const Types::type &type) |