| Package | Description |
|---|---|
| com.google.template.soy.incrementaldomsrc | |
| com.google.template.soy.jssrc.internal | |
| com.google.template.soy.pysrc.internal | |
| com.google.template.soy.sharedpasses.render | |
| com.google.template.soy.soytree |
Soy parse tree.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GenIncrementalDomCodeVisitor.visitIfNode(IfNode node)
Generates calls in HTML/Attributes content as non-JsExprs, since Incremental DOM instructions
are needed and not a JavaScript expression.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GenJsCodeVisitor.generateNonExpressionIfNode(IfNode node)
Generates the JavaScript code for an {if} block that cannot be done as an expression.
|
protected void |
GenJsExprsVisitor.visitIfNode(IfNode node)
Example:
|
protected void |
GenJsCodeVisitor.visitIfNode(IfNode node)
Example:
|
protected Boolean |
IsComputableAsJsExprsVisitor.visitIfNode(IfNode node) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GenPyExprsVisitor.visitIfNode(IfNode node)
If all the children are computable as expressions, the IfNode can be written as a ternary
conditional expression.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
RenderVisitor.visitIfNode(IfNode node) |
| Modifier and Type | Method and Description |
|---|---|
IfNode |
IfNode.copy(CopyState copyState) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractSoyNodeVisitor.visitIfNode(IfNode node) |
protected R |
AbstractReturningSoyNodeVisitor.visitIfNode(IfNode node) |