com.google.template.soy.soytree
Class TemplateNode.SoyDocParam

java.lang.Object
  extended by com.google.template.soy.soytree.TemplateNode.SoyDocParam
Enclosing class:
TemplateNode

@Immutable
public static final class TemplateNode.SoyDocParam
extends Object

Info for a parameter declaration in the SoyDoc.


Field Summary
 boolean isRequired
          Wehther the param is required.
 String key
          The param key.
 
Constructor Summary
TemplateNode.SoyDocParam(String key, boolean isRequired, String desc)
           
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

public final String key
The param key.


isRequired

public final boolean isRequired
Wehther the param is required.

Constructor Detail

TemplateNode.SoyDocParam

public TemplateNode.SoyDocParam(String key,
                                boolean isRequired,
                                @Nullable
                                String desc)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object