func NominalWrapping(childExpression Expression, nominalType typegraph.TGTypeDecl, basis compilergraph.GraphNode) Expression { return &NominalWrappingNode{ expressionBase{domBase{basis}}, childExpression, nominalType.GetTypeReference(), nominalType.GetTypeReference(), true, } }
// GetStaticTypePath returns the global path for the given defined type. func (p Pather) GetStaticTypePath(typedecl typegraph.TGTypeDecl, referenceType typegraph.TypeReference) string { instanceTypeRef := typedecl.GetTypeReference().TransformUnder(referenceType) return p.TypeReferenceCall(instanceTypeRef) }