|
FuncSketch
|
Class of expressions. More...
#include <func_sketch/expressions/expression.h>
Public Types | |
| using | VariantType |
| Type of the variant of expressions. | |
Public Member Functions | |
| Expression (ConstantExpression expression) | |
| Constructor. | |
| Expression (ParameterExpression expression) | |
| Constructor. | |
| Expression (UnaryExpression expression) | |
| Constructor. | |
| Expression (BinaryExpression expression) | |
| Constructor. | |
| Expression (FunctionCallExpression expression) | |
| Constructor. | |
| template<typename T> | |
| const T & | as () const |
| Get as a type. | |
| const VariantType & | as_variant () const |
| Get the expression as variant. | |
Private Attributes | |
| VariantType | expression_ |
| Expression. | |
Class of expressions.
Definition at line 41 of file expression.h.
Type of the variant of expressions.
Definition at line 44 of file expression.h.
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlinenodiscard |
Get as a type.
| T | Type. |
Definition at line 93 of file expression.h.
|
inlinenodiscard |
Get the expression as variant.
Definition at line 102 of file expression.h.
|
private |
Definition at line 106 of file expression.h.