Examples of JVMLocalDeclaration


Examples of st.gravel.support.compiler.jvm.JVMLocalDeclaration

  public Integer lineNumberOf_(final SourcePosition _aSourcePosition) {
    return _parent.lineNumberOf_(_aSourcePosition);
  }

  public JVMVariable localOrCopiedAt_(final String _varName) {
    final JVMLocalDeclaration _local;
    JVMLocalDeclaration _temp1 = _locals.get(_varName);
    _local = ((JVMLocalDeclaration) _temp1);
    if (_local != null) {
      return _local;
    }
    return _copiedVariables.get(_varName);
View Full Code Here

Examples of st.gravel.support.compiler.jvm.JVMLocalDeclaration

    }
    return _copiedVariables.get(_varName);
  }

  public JVMMethodCompiler localStore_(final String _localName) {
    final JVMLocalDeclaration _local;
    _local = _locals.get(_localName);
    this.ensureCast_(_local.type());
    this.emit_(((JVMInstruction) Store.factory.local_(_local)));
    return this;
  }
View Full Code Here

Examples of st.gravel.support.compiler.jvm.JVMLocalDeclaration

    st.gravel.support.jvm.ObjectExtensions.halt(this);
    return this;
  }

  public JVMMethodCompiler produceVarRead_(final String _aString) {
    final JVMLocalDeclaration _local;
    final JVMField _cv;
    JVMLocalDeclaration _temp1 = _locals.get(_aString);
    _local = ((JVMLocalDeclaration) _temp1);
    if (_local != null) {
      return JVMMethodCompiler.this.emit_(Load.factory.local_(_local));
    }
    _cv = _copiedVariables.get(_aString);
View Full Code Here

Examples of st.gravel.support.compiler.jvm.JVMLocalDeclaration

    this.emit_(InvokeStatic.factory.ownerType_name_signature_(JVMDefinedObjectType.factory.symbol(), "value", JVMDefinedObjectType.factory.symbol().withArgument_(JVMDefinedObjectType.factory.string())));
    return this;
  }

  public JVMMethodCompiler renameLocal_to_(final String _oldName, final String _newName) {
    final JVMLocalDeclaration _local;
    _local = _locals.remove(_oldName);
    _locals.put(_newName, _local.withVarName_(_newName));
    return this;
  }
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.