Add a SoyTemplateTestMetadataGenerator that runs the codegen for TemplateTestMetadata and add it into the UberSoyCompiler.
Change errors in templates to warnings, and improve the source location for them. Rewrite SoyFileNodeTransformer to better accomodate this.
GITHUB_BREAKING_CHANGES=No visible changes.
@@ -545,7 +545,7 @@ public abstract class TemplateNode extends AbstractBlockCommandNode
}
/** Returns all params from template header, both regular and injected. */
- public Iterable<TemplateParam> getAllParams() {
+ public ImmutableList<TemplateParam> getAllParams() {
ImmutableList.Builder<TemplateParam> builder = ImmutableList.builder();
for (TemplateHeaderVarDefn header : this.getHeaderParams()) {
if (header instanceof TemplateParam) {
