gov.nasa.arc.brahms.vm.data
Interface IVMExpression
- All Known Implementing Classes:
- VMArrayAccess, VMArrayCreation, VMArrayInitializer, VMConstructorInvocation, VMExpression, VMMethodInvocation
public interface IVMExpression
The IVMExpression interface tags VM objects as being suitable
for serving as an expression that can be evaluated to give a
list of values
- Version:
- $Revision: 1.1 $ $Date: 2009/11/23 20:41:40 $ $Author: rnado $
- Author:
- Bob Nado
evaluate
java.util.List<java.lang.Object> evaluate(VMActiveInstanceCtx agent,
VMFrameCtx frame)
throws gov.nasa.arc.brahms.common.exceptions.BrahmsException
- Evaluates the expression to produce a list of values. Multiple values are possible as the expression
may contain collectall variables with multiple values
- Parameters:
agent
- the VMActiveInstanceCtx for the agent performing the expression evaluationframe
- the VMFrameCtx for the frame that is being executed -- contains variable contexts for variables used in the evaluation
- Returns:
- List<Object> the list of values resulting from the expression evaluation
- Throws:
gov.nasa.arc.brahms.common.exceptions.BrahmsException
- if an error occurs during the expression evaluation
Copyright © 1997-2012 All Rights Reserved.