MetaDone
metadone.client.grasyla2.value.ValueScriptEngine Class Reference
Inheritance diagram for metadone.client.grasyla2.value.ValueScriptEngine:
Collaboration diagram for metadone.client.grasyla2.value.ValueScriptEngine:

List of all members.

Public Member Functions

 ValueScriptEngine (GrasylaContext context, ConcreteObject expression, Engine parent) throws BadPreCondition
final void reevaluate () throws BadPreCondition

Protected Member Functions

Component< ValueevaluateComponent (BootstrapGrasyla grasyla) throws BadPreCondition
boolean canActivateChild (GrasylaEngine ch)

Static Private Attributes

static final String ATTR_UPDATE = "updateOn"

Detailed Description

Evaluates a script and returns the result.

Source

The name of the component denotes a language from ProgLanguage.

Attributes

Contents

A String represent the contents of the script. It is built once per evaluation.

Result
The Value returned by the script.
Author:
kma

Constructor & Destructor Documentation

metadone.client.grasyla2.value.ValueScriptEngine.ValueScriptEngine ( GrasylaContext  context,
ConcreteObject  expression,
Engine  parent 
) throws BadPreCondition

Member Function Documentation

boolean metadone.client.grasyla2.value.ValueScriptEngine.canActivateChild ( GrasylaEngine  ch) [protected]
final void metadone.client.grasyla2.value.ValueScriptEngine.reevaluate ( ) throws BadPreCondition

Reevaluates the script an update the component with the result.

Exceptions:
BadPreCondition
See also:
evaluateComponent(BootstrapGrasyla)
#updateComponent(Component)

Referenced by metadone.client.grasyla2.value.ValueScriptEngine.ValueScriptEngine().


Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations