|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.template.soy.parseinfo.SoyFileInfo
public class SoyFileInfo
Parsed info about a Soy file.
| Nested Class Summary | |
|---|---|
static class |
SoyFileInfo.CssTagsPrefixPresence
Enum for whether there are prefix expressions in the 'css' tags that a CSS name appears in. |
| Constructor Summary | |
|---|---|
SoyFileInfo(String fileName,
String namespace,
com.google.common.collect.ImmutableSortedSet<String> paramsFromAllTemplates,
com.google.common.collect.ImmutableList<SoyTemplateInfo> templates,
com.google.common.collect.ImmutableMap<String,SoyFileInfo.CssTagsPrefixPresence> cssNameMap)
Constructor for internal use only. |
|
| Method Summary | |
|---|---|
com.google.common.collect.ImmutableMap<String,SoyFileInfo.CssTagsPrefixPresence> |
getCssNames()
Returns a map from each CSS name appearing in this file to its CssTagsPrefixPresence state. |
String |
getFileName()
Returns the source Soy file's name. |
String |
getNamespace()
Returns the Soy file's namespace. |
com.google.common.collect.ImmutableSortedSet<String> |
getParamsFromAllTemplates()
Returns the set of params from all templates in this Soy file. |
com.google.common.collect.ImmutableList<SoyTemplateInfo> |
getTemplates()
Returns the list of templates in this Soy file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SoyFileInfo(String fileName,
String namespace,
com.google.common.collect.ImmutableSortedSet<String> paramsFromAllTemplates,
com.google.common.collect.ImmutableList<SoyTemplateInfo> templates,
com.google.common.collect.ImmutableMap<String,SoyFileInfo.CssTagsPrefixPresence> cssNameMap)
Important: Do not construct SoyFileInfo objects outside of Soy internal or Soy-generated code. User code that constructs SoyFileInfo objects will be broken by future Soy changes.
fileName - The source Soy file's name.namespace - The Soy file's namespace.paramsFromAllTemplates - Sorted list of params from all templates in this Soy file.templates - List of templates in this Soy file.| Method Detail |
|---|
public String getFileName()
public String getNamespace()
public com.google.common.collect.ImmutableSortedSet<String> getParamsFromAllTemplates()
public com.google.common.collect.ImmutableList<SoyTemplateInfo> getTemplates()
public com.google.common.collect.ImmutableMap<String,SoyFileInfo.CssTagsPrefixPresence> getCssNames()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||