org.millscript.millscript.action
Class BindingMapAction

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.BindingMapAction
All Implemented Interfaces:
org.millscript.commons.alert.AlertOrigin

public final class BindingMapAction
extends BindingAction

This class represents a for loop map binding action. A map binding action binds successive key-value pairs from a map to given Idents.


Constructor Summary
BindingMapAction(Ident k, Ident v, Action b)
          Constructs a new map binding action, with the supplied key and value Idents 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

BindingMapAction

public BindingMapAction(Ident k,
                        Ident v,
                        Action b)
Constructs a new map binding action, with the supplied key and value Idents and object generating action.

Parameters:
k - Ident to bind keys to
v - Ident to bind values to
b - Action which generates a map-viewable object to iterate over


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