org.millscript.millscript.action
Class BindingFromAction

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

public final class BindingFromAction
extends BindingAction

This class represents a for loop from counter binding action. A from counter action binds a counter to a name, where the counter increases on each iteration. This condition should never cause the for loop to terminate, as the counter should continue to infinity.


Constructor Summary
BindingFromAction(Ident a, Action b)
          Constructs a new from counter binding action, with the supplied ident and starting point 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

BindingFromAction

public BindingFromAction(Ident a,
                         Action b)
Constructs a new from counter binding action, with the supplied ident and starting point action.

Parameters:
a - Ident of the variable this action is bound to
b - Action which generates starting point for the counter


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