Skip to content

Commit

Permalink
Internal
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 705910335
  • Loading branch information
Jesse-Good authored and copybara-github committed Dec 13, 2024
1 parent 2fd2756 commit d989113
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions java/src/com/google/template/soy/jssrc/dsl/ParamDecls.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ public static ParamDecls create(List<ParamDecl> params) {
return new AutoValue_ParamDecls(ImmutableList.copyOf(params), false, null);
}

public RecordType asRecordType() {
return RecordType.create(params());
}

@Override
void doFormatOutputExpr(FormattingContext ctx) {
if (namedStyle()) {
Expand Down

0 comments on commit d989113

Please sign in to comment.