| Package | Description |
|---|---|
| com.google.template.soy.jbcsrc.restricted |
| Modifier and Type | Field and Description |
|---|---|
static Statement |
Statement.NULL_STATEMENT |
static Statement |
Statement.RETURN |
| Modifier and Type | Method and Description |
|---|---|
static Statement |
Statement.concat(Iterable<? extends Statement> statements)
Returns a statement that concatenates all the provided statements.
|
static Statement |
Statement.concat(Statement... statements)
Returns a statement that concatenates all the provided statements.
|
Statement |
MethodRef.invokeVoid(Expression... args) |
Statement |
MethodRef.invokeVoid(Iterable<? extends Expression> args) |
Statement |
Expression.invokeVoid(MethodRef method,
Expression... args)
A simple helper that calls through to
MethodRef.invokeVoid(Expression...), but allows a
more natural fluent call style. |
Statement |
Statement.labelStart(org.objectweb.asm.Label label)
Returns a new statement identical to this one but with the given label applied at the start of
the statement.
|
Statement |
FieldRef.putInstanceField(Expression instance,
Expression value)
|
Statement |
FieldRef.putStaticField(Expression value)
|
static Statement |
Statement.returnExpression(Expression expression)
Generates a statement that returns the value produced by the given expression.
|
Statement |
LocalVariable.store(Expression expr)
Return a
Statement that stores the value of the given expression into this variable. |
Statement |
LocalVariable.store(Expression expr,
org.objectweb.asm.Label firstVarInstruction)
Return a
Statement that stores the value of the given expression into this variable. |
static Statement |
Statement.throwExpression(Expression expression)
Generates a statement that throws the throwable produced by the given expression.
|
Statement |
Expression.toStatement()
Convert this expression to a statement, by executing it and throwing away the result.
|
Statement |
Statement.withSourceLocation(SourceLocation location)
Returns a new
Statement with the source location attached. |
| Modifier and Type | Method and Description |
|---|---|
static Statement |
Statement.concat(Statement... statements)
Returns a statement that concatenates all the provided statements.
|
| Modifier and Type | Method and Description |
|---|---|
static Statement |
Statement.concat(Iterable<? extends Statement> statements)
Returns a statement that concatenates all the provided statements.
|