use of st.gravel.support.compiler.ast.MetaclassNode in project gravel by gravel-st.
the class ClassNode method flattenTraitsIn_.
@Override
public ClassNode flattenTraitsIn_(final SystemNode _aSystemNode) {
final MetaclassNode _newMetaclassNode;
final ClassNode _newClassNode;
_newMetaclassNode = _metaclassNode.flattenTraitsIn_(_aSystemNode);
_newClassNode = _traitUsage.flattenClassNode_in_(this, _aSystemNode);
if ((_newClassNode == this) && (_newMetaclassNode == _metaclassNode)) {
return ClassNode.this;
}
return _newClassNode.copy().pvtSetMetaclassNode_(_newMetaclassNode);
}
Aggregations