Package org.jrubyparser.ast

Examples of org.jrubyparser.ast.VCallNode


          if("setparameters".equals(callNode.getName()))
            for(String name : getArgs(callNode))
              parameterMap.put(name, getEntry(callNode));
          break;
        case VCALLNODE:
          VCallNode vcallNode = (VCallNode) n;
          // A call to 'ensurable' adds 'ensure' parameter
          if(ENSURABLE.equals(vcallNode.getName()))
            parameterMap.put("ensure", new PPTypeInfo.Entry("", false, false));
          break;
        case INSTASGNNODE:
          InstAsgnNode docNode = (InstAsgnNode) n;
          if("@doc".equals(docNode.getName())) {
View Full Code Here


            propertyMap.put(getFirstArg(callNode), getEntry(callNode));
          else if(ENSURABLE.equals(callNode.getName()))
            parameterMap.put("ensure", getEntry(callNode));
          break;
        case VCALLNODE:
          VCallNode vcallNode = (VCallNode) n;
          // A call to 'ensurable' adds 'ensure' parameter
          if(ENSURABLE.equals(vcallNode.getName()))
            parameterMap.put("ensure", new PPTypeInfo.Entry("", false, false));
          break;
        case INSTASGNNODE:
          InstAsgnNode docNode = (InstAsgnNode) n;
          if("@doc".equals(docNode.getName())) {
View Full Code Here

            desc = getFirstArgDefault(cn, "");
          // return new PPTypeInfo.Entry(getFirstArgDefault(cn, ""),
          // false);
        }
        else if(n.getNodeType() == NodeType.VCALLNODE) {
          VCallNode vn = (VCallNode) n;
          if("isnamevar".equals(vn.getName()))
            namevar = true;
        }

      }
View Full Code Here

TOP

Related Classes of org.jrubyparser.ast.VCallNode

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.