Examples of FCallNoArgBlockNode


Examples of org.jruby.ast.FCallNoArgBlockNode

              }
  break;
case 288:
          // line 1074 "DefaultRubyParser.y"
  {
                  yyVal = new FCallNoArgBlockNode(support.union(((Token)yyVals[-1+yyTop]), ((IterNode)yyVals[0+yyTop])), (String) ((Token)yyVals[-1+yyTop]).getValue(), ((IterNode)yyVals[0+yyTop]));
              }
  break;
case 290:
          // line 1078 "DefaultRubyParser.y"
  {
View Full Code Here

Examples of org.jruby.ast.FCallNoArgBlockNode

                return new CallManyArgsNode(union(receiver, args), receiver, (String) name.getValue(), args);
        }
    }
   
    private Node new_fcall_noargs(Token operation, IterNode iter) {
        if (iter != null) return new FCallNoArgBlockNode(operation.getPosition(), (String) operation.getValue(), iter);
        return new FCallNoArgNode(operation.getPosition(), (String) operation.getValue());
    }
View Full Code Here

Examples of org.jruby.ast.FCallNoArgBlockNode

    private Node new_fcall_simpleargs(Token operation, ArrayNode args, Node iter) {
        String name = (String) operation.getValue();
           
        switch (args.size()) {
            case 0// foo()
                if (iter != null) return new FCallNoArgBlockNode(union(operation, args), name, args, (IterNode) iter);
                   
                return new FCallNoArgNode(union(operation, args), args, name);
            case 1:
                if (iter != null) return new FCallOneArgBlockNode(union(operation, args), name, args, (IterNode) iter);
               
View Full Code Here

Examples of org.jruby.ast.FCallNoArgBlockNode

    public Colon3Node new_colon3(ISourcePosition position, String name) {
        return new Colon3Node(position, name);
    }

    private Node new_fcall_noargs(Token operation, IterNode iter) {
        if (iter != null) return new FCallNoArgBlockNode(operation.getPosition(), (String) operation.getValue(), iter);
        return new FCallNoArgNode(operation.getPosition(), (String) operation.getValue());
    }
View Full Code Here

Examples of org.jruby.ast.FCallNoArgBlockNode

        String name = (String) operation.getValue();
        ISourcePosition position = position(operation, args);
           
        switch (args.size()) {
            case 0// foo()
                if (iter != null) return new FCallNoArgBlockNode(position, name, args, (IterNode) iter);
                   
                return new FCallNoArgNode(position, args, name);
            case 1:
                if (iter != null) return new FCallOneArgBlockNode(position, name, args, (IterNode) iter);
               
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.