net.sourceforge.nrl.parser.ast.action
Interface ISetAction

All Superinterfaces:
IAction, INRLAstNode, ISimpleAction

public interface ISetAction
extends ISimpleAction

An action that sets an attribute to a value.


Field Summary
 
Fields inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
NEWLINE
 
Method Summary
 IExpression getExpression()
          The expression to assign to the attribute.
 IModelReference getTarget()
          The target attribute.
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
accept, dump, getColumn, getLine, getUserData, setUserData
 

Method Detail

getTarget

IModelReference getTarget()
The target attribute. This never returns null after model resolution.

Returns:
the attribute

getExpression

IExpression getExpression()
The expression to assign to the attribute. This could be just a model reference, or a more complex expression like an addition, operator invocation and so on.

Returns:
the expression


Copyright © 2006-2010 Christian Nentwich and others