org.millscript.millscript.action
Class AppendAction

java.lang.Object
  extended by org.millscript.millscript.action.Action
      extended by org.millscript.millscript.action.BinaryOpAction
          extended by org.millscript.millscript.action.AppendAction
All Implemented Interfaces:
org.millscript.commons.alert.AlertOrigin

public final class AppendAction
extends BinaryOpAction

This class implements the action for a ++ append expression.

See Also:
AppendExpr, AppendSyntax

Constructor Summary
AppendAction(Action a, Action b)
          Constructs a new ++ action, with the specified actions for the left and right hand side.
 
Method Summary
 java.lang.Object perform(java.lang.Object x, java.lang.Object y)
          Performs this binary action on the specified left and right hand side values.
 
Methods inherited from class org.millscript.millscript.action.BinaryOpAction
action
 
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

AppendAction

public AppendAction(Action a,
                    Action b)
Constructs a new ++ action, with the specified actions for the left and right hand side.

Parameters:
a - the action for the left hand side of the expression
b - the action for the right hand side of the expression
Method Detail

perform

public java.lang.Object perform(java.lang.Object x,
                                java.lang.Object y)
Description copied from class: BinaryOpAction
Performs this binary action on the specified left and right hand side values.

Specified by:
perform in class BinaryOpAction
Parameters:
x - the left hand side value
y - the right hand side value
Returns:
the result of this binary action on the left and right hand side values
See Also:
BinaryOpAction.perform(java.lang.Object, java.lang.Object)


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