use of st.gravel.support.compiler.ast.Reference in project gravel by gravel-st.
the class MetaclassNode method superclassReferenceForMethodLookup.
@Override
public Reference superclassReferenceForMethodLookup() {
final Reference _csr;
_csr = _classNode.superclassReference();
if (_csr == null) {
return AbsoluteReference.factory.path_(new st.gravel.core.Symbol[] { st.gravel.core.Symbol.value("st"), st.gravel.core.Symbol.value("gravel"), st.gravel.core.Symbol.value("lang"), st.gravel.core.Symbol.value("Class") });
}
return ClassReference.factory.reference_(((AbsoluteReference) _csr));
}
use of st.gravel.support.compiler.ast.Reference in project gravel by gravel-st.
the class AbstractClassMapping method superclassMappingIn_.
public AbstractClassMapping superclassMappingIn_(final SystemMapping _aSystemMapping) {
final Reference _superclassReference;
_superclassReference = this.superclassReference();
if (_superclassReference == null) {
return null;
}
return _aSystemMapping.classMappingAtReference_(_superclassReference);
}
Aggregations