MetaDone
metadone.client.parsers.grasyla.AST_variable Class Reference
Inheritance diagram for metadone.client.parsers.grasyla.AST_variable:
Collaboration diagram for metadone.client.parsers.grasyla.AST_variable:

List of all members.

Public Member Functions

 AST_variable (String name, VariableStoreType store)
ConcreteObject generate (ConcreteModel script, BootstrapGrasyla grasyla, ConcreteObject old) throws BadPreCondition
void setValue (Object object)
void setObject (AST_ref ref)

Protected Member Functions

MetaObject gMetaObject (BootstrapGrasyla grasyla) throws BadPreCondition

Private Attributes

final String name
final VariableStoreType store
Object value

Detailed Description

Grasyla AST: variable.

Author:
kma

Constructor & Destructor Documentation

metadone.client.parsers.grasyla.AST_variable.AST_variable ( String  name,
VariableStoreType  store 
)

Initializes a variable.

Parameters:
nameThe name of the variable
storeIndicates how the variable is stored (may be null)

References metadone.client.parsers.grasyla.AST_variable.name, and metadone.client.parsers.grasyla.AST_variable.store.


Member Function Documentation

MetaObject metadone.client.parsers.grasyla.AST_variable.gMetaObject ( BootstrapGrasyla  grasyla) throws BadPreCondition [protected, virtual]

Gets the type of the element.

Parameters:
grasylaGrasyla
Returns:
The type of the element
Exceptions:
BadPreCondition

Implements metadone.client.parsers.grasyla.AST_gelement.

void metadone.client.parsers.grasyla.AST_variable.setObject ( AST_ref  ref)

Sets the object.

Parameters:
refThe reference

References metadone.client.parsers.grasyla.AST_variable.value.

void metadone.client.parsers.grasyla.AST_variable.setValue ( Object  object)

Sets the value.

Parameters:
objectThe new value

References metadone.client.parsers.grasyla.AST_variable.value.


Member Data Documentation


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