Package org.jruby.ast

Examples of org.jruby.ast.FCallNoArgNode


        }
  break;
case 273:
          // line 1015 "DefaultRubyParser.y"
  {
                  yyVal = new FCallNoArgNode(((Token)yyVals[0+yyTop]).getPosition(), (String) ((Token)yyVals[0+yyTop]).getValue());
        }
  break;
case 274:
          // line 1018 "DefaultRubyParser.y"
  {
View Full Code Here


        }
    }
   
    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

           
        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);
               
                return new FCallOneArgNode(union(operation, args), name, args);
            case 2:
View Full Code Here

        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

           
        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);
               
                return new FCallOneArgNode(position, name, args);
            case 2:
View Full Code Here

TOP

Related Classes of org.jruby.ast.FCallNoArgNode

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.