gnu.kawa.functions
Class SetNamedPart

java.lang.Object
  extended by gnu.mapping.PropertySet
      extended by gnu.mapping.Procedure
          extended by gnu.mapping.Procedure3
              extended by gnu.kawa.functions.SetNamedPart
All Implemented Interfaces:
CanInline, HasSetter, Named

public class SetNamedPart
extends Procedure3
implements HasSetter, CanInline

Procedure to get the value of a named component of an object.


Field Summary
static SetNamedPart setNamedPart
           
 
Constructor Summary
SetNamedPart()
           
 
Method Summary
 java.lang.Object apply3(java.lang.Object container, java.lang.Object part, java.lang.Object value)
           
 Expression inline(ApplyExp exp, ExpWalker walker)
          Inline an application of this Procedure and return result.
 
Methods inherited from class gnu.mapping.Procedure3
apply0, apply1, apply2, apply4, applyN, numArgs
 
Methods inherited from class gnu.mapping.Procedure
apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getSetter, getSourceLocation, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
 
Methods inherited from class gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gnu.mapping.HasSetter
getSetter
 

Field Detail

setNamedPart

public static final SetNamedPart setNamedPart
Constructor Detail

SetNamedPart

public SetNamedPart()
Method Detail

inline

public Expression inline(ApplyExp exp,
                         ExpWalker walker)
Description copied from interface: CanInline
Inline an application of this Procedure and return result. Can return original expression.

Specified by:
inline in interface CanInline

apply3

public java.lang.Object apply3(java.lang.Object container,
                               java.lang.Object part,
                               java.lang.Object value)
Specified by:
apply3 in class Procedure3