Envision
A visual programming IDE for object-oriented languages
|
Public Member Functions | |
Expression * | topMostExpressionParent () const |
Returns the expression node which is the top-most expression ancestor of this expression. More... | |
virtual std::unique_ptr< Type > | type () |
Additional Inherited Members | |
Protected Types inherited from Core::Reflect< Base > | |
using | Super = Reflect< Base > |
Expression * OOModel::Expression::topMostExpressionParent | ( | ) | const |
Returns the expression node which is the top-most expression ancestor of this expression.
This might not be the expression node closest to the root in case where 'this' is inside a lambda for example. This method just walks up the hirarchy while encountering other expression or single list nodes.
|
virtual |