Package st.gravel.support.compiler.ast

Examples of st.gravel.support.compiler.ast.ClassMapping.reference()


  public static ClassDescriptionMirror getClassMirror(
      Class<? extends Object> aClass) {
    ClassMapping classMapping = ImageBootstrapper.systemMapping
        .classMappingForJavaClass_(aClass);
    return ClassDescriptionMirror.forReference(classMapping.reference());
  }

  public static ClassDescriptionMirror getNilClassMirror() {
    ClassMapping classMapping = ImageBootstrapper.systemMapping
        .nilClassMapping();
View Full Code Here


  }

  public static ClassDescriptionMirror getNilClassMirror() {
    ClassMapping classMapping = ImageBootstrapper.systemMapping
        .nilClassMapping();
    return ClassDescriptionMirror.forReference(classMapping.reference());
  }
}
View Full Code Here

  }

  public static String classTitle(ObjectClass receiver) {
    ClassMapping cm = ImageBootstrapper.systemMapping
        .classMappingForJavaClass_(receiver.getClass());
    return cm.reference().nonmeta().toString();
  }

  public static Object perform_(Object receiver, Symbol selector)
      throws Throwable {
    return MethodTools.perform(receiver, selector);
View Full Code Here

          }
        }
        return SystemMapping.this;
      }
    });
    _classNode = ClassNode.factory.name_superclassPath_properties_instVars_classInstVars_sharedVariables_methods_classMethods_namespace_isExtension_isTrait_traitUsage_classTraitUsage_(_superMapping.classNode().name(), _superMapping.reference().toString(), new java.util.HashMap<String, String>(), new VariableDeclarationNode[] {}, new VariableDeclarationNode[] {}, new SharedDeclarationNode[] {}, new MethodNode[] {}, new MethodNode[] {}, _superMapping.classNode().namespace(), false, false, EmptyTraitUsageNode.factory.basicNew(), EmptyTraitUsageNode.factory.basicNew());
    return ClassMapping.factory.identityMapping_extensions_instVarMappings_classNode_(IdentityClassPartMapping.factory.javaClass_isGenerated_(_receiverClass, false).withMethodMappings_(_methodMappings[0]), new ExtensionClassPartMapping[] {}, new java.util.HashMap<String, InstVarMapping>(), _classNode);
  }

  public SystemMappingUpdater newSystemMappingUpdater() {
    return SystemMappingUpdater.factory.systemMapping_compilerTools_(this, _compilerTools);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.