SmartFrog 3.10.000

org.smartfrog.sfcore.languages.sf
Class Function

java.lang.Object
  extended by org.smartfrog.sfcore.languages.sf.Function
All Implemented Interfaces:
PhaseAction

public class Function
extends java.lang.Object
implements PhaseAction

Construct the function apply reference object, and replace self with this


Constructor Summary
Function()
           
 
Method Summary
 void doit()
          Implements the actions to be performed in a phase.
 void forComponent(SFComponentDescription cd, java.lang.String phaseName, java.util.Stack path)
          Sets the component and the context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Function

public Function()
Method Detail

doit

public void doit()
          throws SmartFrogCompileResolutionException
Description copied from interface: PhaseAction
Implements the actions to be performed in a phase.

Specified by:
doit in interface PhaseAction
Throws:
SmartFrogCompileResolutionException - failure in implementing the actions

forComponent

public void forComponent(SFComponentDescription cd,
                         java.lang.String phaseName,
                         java.util.Stack path)
Description copied from interface: PhaseAction
Sets the component and the context.

Specified by:
forComponent in interface PhaseAction
Parameters:
cd - a componentdescription object

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP