Package | Description |
---|---|
org.apache.bsf | |
org.apache.bsf.util |
Modifier and Type | Method | Description |
---|---|---|
void |
BSFEngine.compileApply(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object funcBody,
java.util.Vector paramNames,
java.util.Vector arguments,
CodeBuffer cb) |
This is used by an application to compile an anonymous function.
|
void |
BSFManager.compileApply(java.lang.String lang,
java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object funcBody,
java.util.Vector paramNames,
java.util.Vector arguments,
CodeBuffer cb) |
Compile the application of the given anonymous function of the given
language to the given parameters into the given CodeBuffer.
|
void |
BSFEngine.compileExpr(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object expr,
CodeBuffer cb) |
This is used by an application to compile a value-returning expression.
|
void |
BSFManager.compileExpr(java.lang.String lang,
java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object expr,
CodeBuffer cb) |
Compile the given expression of the given language into the given
CodeBuffer.
|
void |
BSFEngine.compileScript(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script,
CodeBuffer cb) |
This is used by an application to compile some script.
|
void |
BSFManager.compileScript(java.lang.String lang,
java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script,
CodeBuffer cb) |
Compile the given script of the given language into the given
CodeBuffer.
|
Modifier and Type | Method | Description |
---|---|---|
void |
BSFEngineImpl.compileApply(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object funcBody,
java.util.Vector paramNames,
java.util.Vector arguments,
CodeBuffer cb) |
Default impl of compileApply - calls compileExpr ignoring parameters.
|
void |
BSFEngineImpl.compileExpr(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object expr,
CodeBuffer cb) |
Default impl of compileExpr - generates code that'll create a new
manager, evaluate the expression, and return the value.
|
void |
BSFEngineImpl.compileScript(java.lang.String source,
int lineNo,
int columnNo,
java.lang.Object script,
CodeBuffer cb) |
Default impl of compileScript - generates code that'll create a new
manager, and execute the script.
|
void |
CodeBuffer.merge(CodeBuffer otherCB) |
Constructor | Description |
---|---|
CodeBuffer(CodeBuffer parent) |