# Uses of Class
org.apache.bsf.util.CodeBuffer

Packages that use CodeBuffer
Package
Description
org.apache.bsf
org.apache.bsf.engines.java
org.apache.bsf.util

- ## Uses of CodeBuffer in org.apache.bsf

  Methods in org.apache.bsf with parameters of type CodeBuffer
  Modifier and Type
  Method
  Description
  `void`
  BSFEngine.`compileApply(String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, Vector arguments, CodeBuffer cb)`
  This is used by an application to compile an anonymous function.
  `void`
  BSFManager.`compileApply(String lang, String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, 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(String source, int lineNo, int columnNo, Object expr, CodeBuffer cb)`
  This is used by an application to compile a value-returning expression.
  `void`
  BSFManager.`compileExpr(String lang, String source, int lineNo, int columnNo, Object expr, CodeBuffer cb)`
  Compile the given expression of the given language into the given `CodeBuffer`.
  `void`
  BSFEngine.`compileScript(String source, int lineNo, int columnNo, Object script, CodeBuffer cb)`
  This is used by an application to compile some script.
  `void`
  BSFManager.`compileScript(String lang, String source, int lineNo, int columnNo, Object script, CodeBuffer cb)`
  Compile the given script of the given language into the given `CodeBuffer`.

- ## Uses of CodeBuffer in org.apache.bsf.engines.java

  Methods in org.apache.bsf.engines.java with parameters of type CodeBuffer
  Modifier and Type
  Method
  Description
  `void`
  JavaEngine.`compileScript(String source, int lineNo, int columnNo, Object script, CodeBuffer cb)`

- ## Uses of CodeBuffer in org.apache.bsf.util

  Methods in org.apache.bsf.util with parameters of type CodeBuffer
  Modifier and Type
  Method
  Description
  `void`
  BSFEngineImpl.`compileApply(String source, int lineNo, int columnNo, Object funcBody, Vector paramNames, Vector arguments, CodeBuffer cb)`
  Default impl of compileApply - calls compileExpr ignoring parameters.
  `void`
  BSFEngineImpl.`compileExpr(String source, int lineNo, int columnNo, 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(String source, int lineNo, int columnNo, 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)`
  Constructors in org.apache.bsf.util with parameters of type CodeBuffer
  Modifier
  Constructor
  Description
  ``
  `CodeBuffer(CodeBuffer parent)`