Package st.gravel.support.compiler.jvm

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


  }

  public JVMClass[] compileExpression_reference_(final Node _anExpression, final Reference _aReference) {
    final JVMDefinedObjectType _ownerType;
    final BlockNode _fieldAccessed;
    final BlockInnerClass _aBlockInnerClass;
    final BlockNode _intermediate;
    final BlockNode _holderized;
    final JVMClassCompiler _jvmClassCompiler;
    final JVMClass _blockClass;
    _intermediate = ((BlockNode) IntermediateNodeRewriter.factory.visit_(BlockNode.factory.expression_(_anExpression)));
View Full Code Here


    return JVMBlockCompiler.factory.parent_block_(this, _aBlockInnerClass).compileBlock();
  }

  public JVMClassCompiler compileBlocks() {
    final java.util.Set<JVMDefinedObjectType>[] _done;
    BlockInnerClass _cl;
    _done = new java.util.Set[1];
    _done[0] = new java.util.HashSet();
    _cl = null;
    boolean _temp1 = false;
    while (!_temp1) {
      _cl = ((BlockInnerClass) st.gravel.support.jvm.OrderedCollectionExtensions.detect_ifNone_(_innerclasses, new st.gravel.support.jvm.Predicate1<BlockInnerClass>() {

        @Override
        public boolean value_(final BlockInnerClass _e) {
          return !_done[0].contains(_e.ownerType());
        }
      }, ((st.gravel.support.jvm.Block0<BlockInnerClass>) (new st.gravel.support.jvm.Block0<BlockInnerClass>() {

        @Override
        public BlockInnerClass value() {
          return (BlockInnerClass) null;
        }
      }))));
      _temp1 = _cl == null;
      if (!_temp1) {
        JVMClassCompiler.this.compileBlock_(_cl);
        _done[0].add(_cl.ownerType());
      }
    }
    return this;
  }
View Full Code Here

      throw new RuntimeException(e);
    }
  }

  public BlockInnerClass createBlockInnerClass_copiedVariables_(final BlockNode _aBlockNode, final JVMVariable[] _anArray) {
    final BlockInnerClass _innerclass;
    _innerclass = BlockInnerClass.factory.ownerType_blockNode_copiedVariables_(this.newInnerClassType(), _aBlockNode, _anArray);
    _innerclasses.add(_innerclass);
    return _innerclass;
  }
View Full Code Here

TOP

Related Classes of st.gravel.support.compiler.jvm.BlockInnerClass

Copyright © 2018 www.massapicom. 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.