Examples of FindIndirectParamsVisitor


Examples of com.google.template.soy.sharedpasses.FindIndirectParamsVisitor

    for (SoyDocParam param : node.getSoyDocParams()) {
      transitiveParamMap.put(param.key, param);
    }
    // Indirect params.
    IndirectParamsInfo indirectParamsInfo =
        (new FindIndirectParamsVisitor(templateRegistry)).exec(node);
    for (SoyDocParam param : indirectParamsInfo.indirectParams.values()) {
      SoyDocParam existingParam = transitiveParamMap.get(param.key);
      if (existingParam == null) {
        // Note: We don't list the SoyDoc description for indirect params.
        transitiveParamMap.put(param.key, new SoyDocParam(param.key, param.isRequired, null));
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.