App: add list/tuple() function to Expression

For easy creation of Python list/tuple using expression. Range
expression can now be expanded into list or tuple.
This commit is contained in:
Zheng, Lei
2019-08-26 15:55:39 +08:00
committed by wmayer
parent 38c47d6e95
commit c3db1e02ec
2 changed files with 63 additions and 12 deletions

View File

@@ -267,6 +267,8 @@ public:
FLOOR,
HYPOT,
CATH,
LIST,
TUPLE,
// Aggregates
AGGREGATES,
@@ -453,7 +455,7 @@ public:
Range getRange() const;
virtual boost::any getValueAsAny() const override { return boost::any(); }
virtual boost::any getValueAsAny() const override;
virtual Py::Object getPyValue() const override;