public static class TemplateNodeBuilder.DeclInfo extends Object
TemplateNodeBuilder.setHeaderDecls(java.util.List<com.google.template.soy.soytree.TemplateNodeBuilder.DeclInfo>).
Important: Do not use outside of Soy code (treat as superpackage-private).
| Modifier and Type | Field and Description |
|---|---|
String |
cmdName
The command name of the decl tag.
|
String |
cmdText
The command text of the decl tag.
|
boolean |
optional
Whether this is an optional parameter.
|
String |
soyDoc
The SoyDoc string associated with the decl, or null if none.
|
public final String cmdName
public final String cmdText
@Nullable public final String soyDoc
@Nullable public final boolean optional