Examples of source_()


Examples of st.gravel.support.compiler.jvm.JVMClass.source_()

    _methodCompiler = JVMMethodCompiler.factory.parent_(_parent);
    _methodCompiler.isStatic_(false);
    _m = _methodCompiler.buildBlock_copiedVariables_blockType_(_block.blockNode(), _fields, _block.ownerType());
    _jvmClass = JVMClass.factory.type_superType_fields_methods_astConstants_(_block.ownerType(), this.superType(), _fields, st.gravel.support.jvm.ArrayFactory.with_with_(_m, this.createInit()), new BlockSendArgument[] {});
    if (_block.blockNode().sourcePosition() != null) {
      _jvmClass.source_(_block.blockNode().sourcePosition().sourceFile().name());
    }
    return _jvmClass;
  }

  public JVMBlockCompiler copy() {
View Full Code Here

Examples of st.gravel.support.compiler.jvm.JVMClass.source_()

    this.compileInit();
    this.compileClone();
    this.compileAstInit();
    _aClass = JVMClass.factory.type_superType_fields_methods_astConstants_(_ownerType, _superType, _fields.toArray(new JVMField[_fields.size()]), _jvmMethods.toArray(new JVMMethod[_jvmMethods.size()]), _astConstants.toArray(new BlockSendArgument[_astConstants.size()]));
    if (!((_classDescriptionNode == null) || (_classDescriptionNode.findSourceFile() == null))) {
      _aClass.source_(_classDescriptionNode.findSourceFile().name());
    }
    _jvmMethods = null;
    return _aClass;
  }
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.