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

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

@Immutable
protected static class TemplateNode.CommandTextInfo
extends Object

Private helper class used by constructors. Encapsulates all the info derived from the command text.


Field Summary
 AutoescapeMode autoescapeMode
           
 String commandText
           
 SanitizedContent.ContentKind contentKind
           
 boolean isPrivate
           
 String partialTemplateName
           
 SoyNode.SyntaxVersion syntaxVersion
           
 String templateName
           
 
Constructor Summary
TemplateNode.CommandTextInfo(String commandText, String templateName, String partialTemplateName, boolean isPrivate, AutoescapeMode autoescapeMode, SanitizedContent.ContentKind contentKind, SoyNode.SyntaxVersion syntaxVersion)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commandText

public final String commandText

templateName

public final String templateName

partialTemplateName

@Nullable
public final String partialTemplateName

isPrivate

public final boolean isPrivate

autoescapeMode

public final AutoescapeMode autoescapeMode

contentKind

@Nullable
public final SanitizedContent.ContentKind contentKind

syntaxVersion

public final SoyNode.SyntaxVersion syntaxVersion
Constructor Detail

TemplateNode.CommandTextInfo

public TemplateNode.CommandTextInfo(String commandText,
                                    String templateName,
                                    @Nullable
                                    String partialTemplateName,
                                    boolean isPrivate,
                                    AutoescapeMode autoescapeMode,
                                    SanitizedContent.ContentKind contentKind,
                                    SoyNode.SyntaxVersion syntaxVersion)