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));