| Package | Description |
|---|---|
| com.google.template.soy.jbcsrc.restricted |
| Modifier and Type | Method and Description |
|---|---|
protected void |
SoyExpression.doGen(CodeBuilder adapter) |
protected abstract void |
BytecodeProducer.doGen(CodeBuilder adapter) |
protected void |
LocalVariable.doGen(CodeBuilder mv) |
protected abstract void |
Expression.doGen(CodeBuilder adapter)
Generate code to evaluate the expression.
|
void |
BytecodeProducer.gen(CodeBuilder adapter)
Writes the bytecode to the adapter.
|
void |
MethodRef.invokeUnchecked(CodeBuilder cb)
Writes an invoke instruction for this method to the given adapter.
|
static void |
BytecodeUtils.nullCoalesce(CodeBuilder builder,
org.objectweb.asm.Label nullExit)
Outputs bytecode that will test the item at the top of the stack for null, and branch to
nullExit if it is null. |
void |
FieldRef.putUnchecked(CodeBuilder adapter)
Adds code to place the top item of the stack into this field.
|
void |
LocalVariable.tableEntry(CodeBuilder mv)
Write a local variable table entry for this variable.
|
static org.objectweb.asm.Type |
BytecodeUtils.unboxUnchecked(CodeBuilder cb,
SoyRuntimeType soyType,
Class<?> asType)
Outputs bytecode that unboxes the current top element of the stack as
asType. |