Examples of varName()


Examples of org.formulacompiler.compiler.internal.expressions.ExpressionNodeForLet.varName()

      }
    }
    else if (_node instanceof ExpressionNodeForLet) {
      final ExpressionNodeForLet let = (ExpressionNodeForLet) _node;
      addToClosure( _closure, let.value() );
      addToClosureWithInnerDefs( _closure, let.in(), let.varName() );
    }

    else if (_node instanceof ExpressionNodeForFoldDefinition) {
      final ExpressionNodeForFoldDefinition fold = (ExpressionNodeForFoldDefinition) _node;
View Full Code Here

Examples of org.formulacompiler.compiler.internal.expressions.ExpressionNodeForLetVar.varName()

    if (null == _node) {
      // ignore
    }
    else if (_node instanceof ExpressionNodeForLetVar) {
      final ExpressionNodeForLetVar letVar = (ExpressionNodeForLetVar) _node;
      final LetEntry found = letDict().find( letVar.varName() );
      if (null != found && INNER_DEF != found.value) {
        // Don't treat repeated occurrences separately.
        _closure.put( found.name, found );
      }
    }
View Full Code Here

Examples of org.formulacompiler.compiler.internal.expressions.ExpressionNodeForLetVar.varName()

      final Collection<ExpressionNode> args = _arrayRefNode.arguments();
      return args.toArray( new ExpressionNode[ args.size() ] );
    }
    else if (_arrayRefNode instanceof ExpressionNodeForLetVar) {
      final ExpressionNodeForLetVar var = (ExpressionNodeForLetVar) _arrayRefNode;
      final Object res = letDict().lookup( var.varName() );
      final ExpressionNode val = (ExpressionNode) res;
      return arrayRefElements( _outerNode, val );
    }
    else {
      throw new CompilerException.UnsupportedExpression( "Array reference expected in "
View Full Code Here

Examples of st.gravel.support.compiler.jvm.JVMVariable.varName()

    for (int _temp1 = 0; _temp1 < _block.copiedVariables().length; _temp1++) {
      final int _i = _temp1 + 1;
      final JVMVariable _elem = _block.copiedVariables()[_temp1];
      _instructions[0].add(_read0[0]);
      _instructions[0].add(Load.factory.index_type_(_i, _elem.type()));
      _instructions[0].add(PutField.factory.ownerType_name_type_(_block.ownerType(), _elem.varName(), _elem.type()));
    }
    _instructions[0].add(_read0[0]);
    _instructions[0].add(InvokeSpecial.factory.init_voidArguments_(this.superType(), new JVMType[] {}));
    _instructions[0].add(Return.factory.basicNew());
    _locals = st.gravel.support.jvm.ArrayExtensions.copyWithFirst_(st.gravel.support.jvm.ArrayExtensions.keysAndValuesCollect_(_block.copiedVariables(), new st.gravel.support.jvm.Block2<JVMLocalDeclaration, Integer, JVMVariable>() {
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.