org.millscript.millscript.action
Class BindingListAction

java.lang.Object
  extended by org.millscript.millscript.action.Action
      extended by org.millscript.millscript.action.ForConditionAction
          extended by org.millscript.millscript.action.BindingAction
              extended by org.millscript.millscript.action.BindingListAction
All Implemented Interfaces:
org.millscript.commons.alert.AlertOrigin

public final class BindingListAction
extends BindingAction

This class represents a for loop list binding action. A list binding action binds successive values in a object to a reference. Any object that can be viewed as a list is valid for this binding.


Constructor Summary
BindingListAction(Ident a, Action b)
          Constructs a new list binding action, with the supplied Ident and object generating action.
 
Method Summary
 
Methods inherited from class org.millscript.millscript.action.ForConditionAction
action, setFinallyAction
 
Methods inherited from class org.millscript.millscript.action.Action
act, act1, getLineNumber, getOrigin, predAct, setContext, setLineNumber, setOrigin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingListAction

public BindingListAction(Ident a,
                         Action b)
Constructs a new list binding action, with the supplied Ident and object generating action.

Parameters:
a - Ident to bind values to
b - Action which generates a list-viewable object to iterate over


Copyright © 2001-2007 Open World Ltd. All Rights Reserved.