Package | Description |
---|---|
org.glassfish.pfl.dynamic.codegen.impl |
Modifier and Type | Class and Description |
---|---|
static class |
EmitterFactory.CompoundEmitter |
static class |
EmitterFactory.NullEmitter |
static class |
EmitterFactory.SimpleEmitter |
Modifier and Type | Method and Description |
---|---|
static EmitterFactory.Emitter |
EmitterFactory.makeEmitter(ExpressionFactory.ArrayIndexExpression expr,
boolean isStore)
Create an emitter that generates the instruction needed to
either store the TOS value into an array (aastore) (isStore==true)
or push the array element's value onto the stack (aaload)
(isStore==false).
|
static EmitterFactory.Emitter |
EmitterFactory.makeEmitter(ExpressionFactory.ArrayLengthExpression expr) |
static EmitterFactory.Emitter |
EmitterFactory.makeEmitter(ExpressionFactory.NonStaticFieldAccessExpression expr,
boolean isStore)
Create an emitter that generates the instruction needed to
either store the TOS value into the non-static field (isStore==true)
or push the non-static fields's value onto the stack (isStore==false).
|
static EmitterFactory.Emitter |
EmitterFactory.makeEmitter(ExpressionFactory.StaticFieldAccessExpression expr,
boolean isStore)
Create an emitter that generates the instruction needed to
either store the TOS value into the static field (isStore==true)
or push the static fields's value onto the stack (isStore==false).
|
static EmitterFactory.Emitter |
EmitterFactory.makeEmitter(Variable var,
boolean isStore)
Create an emitter that generates the instruction needed to
either store the TOS value into the variable (isStore==true)
or push the variable's value onto the stack (isStore==false).
|
Modifier and Type | Method and Description |
---|---|
void |
ByteCodeUtility.callEmitter(EmitterFactory.Emitter emitter) |
Constructor and Description |
---|
EmitterFactory.CompoundEmitter(EmitterFactory.Emitter... args) |
Copyright © 2017 Oracle. All rights reserved.