Examples of interpret()


Examples of net.sourceforge.jivalo.andromda.dgmm.parser.cobol.ElementaryDataItem.interpret()

    HashMap attrs = getAllAttributes(c);
    for ( int i = 0; i < level01.getDataItems().length; i++) {
      if ( level01.getDataItems()[i] instanceof ElementaryDataItem ) {
        ElementaryDataItem edi = (ElementaryDataItem)level01.getDataItems()[i];
        String attrName = edi.getDataName();
        DataField dataField = (DataField)edi.interpret();
        if (dataField != null) {
          Property attr = (Property)attrs.get(attrName);
          Type type = dataField.getType() == Integer.class ? integerType : stringType;
          if (attr == null) {
            String timestampFormat = "";
View Full Code Here

Examples of org.apache.hadoop.gateway.topology.builder.property.interpreter.PropertyInterpreter.interpret()

    public Topology build() {
        Topology topology = new Topology();
        PropertyInterpreter propertyInterpreter = new PropertyInterpreter(topology);
        for (Property property : properties) {
            try {
                propertyInterpreter.interpret(property.getName(), property.getValue());
            } catch (InterpretException ie) {
                log.failedToInterpretProperty(property.getName(), ie);
                throw new IllegalArgumentException(gatewayResources.wrongTopologyDataFormatError());
            }
        }
View Full Code Here

Examples of org.erlide.backend.debug.model.ErlangDebugTarget.interpret()

                            .makeSet(launchConfiguration.getAttribute(
                                    ErlRuntimeAttributes.DEBUG_FLAGS, ErlDebugFlags
                                            .getFlag(ErlDebugFlags.DEFAULT_DEBUG_FLAGS)));
                    final boolean distributed = debugFlags
                            .contains(ErlDebugFlags.DISTRIBUTED_DEBUG);
                    erlangDebugTarget.interpret(project, moduleName, distributed, true);
                }
            }
        } catch (final CoreException e) {
            ErlLogger.error(e);
        }
View Full Code Here

Examples of org.jboss.byteman.rule.binding.Binding.interpret()

        Iterator<Binding> iterator = getBindings().iterator();

        while (iterator.hasNext()) {
            Binding binding = iterator.next();

            binding.interpret(helper);
        }
       
        return null;
    }
View Full Code Here

Examples of org.jboss.byteman.rule.binding.Binding.interpret()

        Iterator<Binding> iterator = getBindings().iterator();

        while (iterator.hasNext()) {
            Binding binding = iterator.next();

            binding.interpret(helper);
        }
       
        return null;
    }
View Full Code Here

Examples of org.jruby.ast.Node.interpret()

          // See eval todo about why this is commented out
            //runtime.setPosition(file, line);

            Node node = runtime.parseEval(file, funcBody.toString(), null, 0);
            IRubyObject result = node.interpret(runtime, context, runtime.getTopSelf(), Block.NULL_BLOCK);
            return JavaEmbedUtils.rubyToJava(runtime, result, Object.class);
        } catch (StackOverflowError sfe) {
            throw runtime.newSystemStackError("stack level too deep");
        } finally {
            context.postBsfApply();
View Full Code Here

Examples of org.jruby.ast.Node.interpret()

            // Binding provided for scope, use it
            IRubyObject newSelf = binding.getSelf();
            RubyString source = src.convertToString();
            Node node = runtime.parseEval(source.getByteList(), file, evalScope, lineNumber);

            return node.interpret(runtime, context, newSelf, binding.getFrame().getBlock());
        } catch (JumpException.BreakJump bj) {
            throw runtime.newLocalJumpError(RubyLocalJumpError.Reason.BREAK, (IRubyObject)bj.getValue(), "unexpected break");
        } catch (JumpException.RedoJump rj) {
            throw runtime.newLocalJumpError(RubyLocalJumpError.Reason.REDO, (IRubyObject)rj.getValue(), "unexpected redo");
        } catch (StackOverflowError sfe) {
View Full Code Here

Examples of org.jruby.ast.Node.interpret()

        evalScope.getStaticScope().determineModule();
       
        try {
            Node node = runtime.parseEval(source.getByteList(), file, evalScope, lineNumber);
           
            return node.interpret(runtime, context, self, Block.NULL_BLOCK);
        } catch (JumpException.BreakJump bj) {
            throw runtime.newLocalJumpError(RubyLocalJumpError.Reason.BREAK, (IRubyObject)bj.getValue(), "unexpected break");
        } catch (StackOverflowError sfe) {
            throw runtime.newSystemStackError("stack level too deep");
        } finally {
View Full Code Here

Examples of org.jruby.ast.Node.interpret()

        Node bodyNode = ((BlockPassNode) blockNode).getBodyNode();
        IRubyObject proc;
        if (bodyNode == null) {
            proc = runtime.getNil();
        } else {
            proc = bodyNode.interpret(runtime, context, self, currentBlock);
        }

        return RuntimeHelpers.getBlockFromBlockPassBody(proc, currentBlock);
    }
View Full Code Here

Examples of org.jruby.ast.Node.interpret()

        ManyVarsDynamicScope newScope = new ManyVarsDynamicScope(new EvalStaticScope(currentScope.getStaticScope()), currentScope);
        Node node = parseEval(script, "<script>", newScope, 0);
       
        try {
            context.preEvalScriptlet(newScope);
            return node.interpret(this, context, context.getFrameSelf(), Block.NULL_BLOCK);
        } catch (JumpException.ReturnJump rj) {
            throw newLocalJumpError(RubyLocalJumpError.Reason.RETURN, (IRubyObject)rj.getValue(), "unexpected return");
        } catch (JumpException.BreakJump bj) {
            throw newLocalJumpError(RubyLocalJumpError.Reason.BREAK, (IRubyObject)bj.getValue(), "unexpected break");
        } catch (JumpException.RedoJump rj) {
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.