gnu.kawa.functions
Class SetNamedPart
java.lang.Object
gnu.mapping.PropertySet
gnu.mapping.Procedure
gnu.mapping.Procedure3
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.
|
Method Summary |
java.lang.Object |
apply3(java.lang.Object container,
java.lang.Object part,
java.lang.Object value)
|
Expression |
inline(ApplyExp exp,
InlineCalls walker,
boolean argsInlined)
Inline an application of this Procedure and return result. |
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
setNamedPart
public static final SetNamedPart setNamedPart
SetNamedPart
public SetNamedPart()
inline
public Expression inline(ApplyExp exp,
InlineCalls walker,
boolean argsInlined)
- Description copied from interface:
CanInline
- Inline an application of this Procedure and return result.
Unless
argsInlined is true, then this method
is responsible for walking exp.getArgs();
you can handle this using exp.getArgs(walker, argsInlined).
(The exp.getFunction() has been walked, regardless.)
- Specified by:
inline in interface CanInline
argsInlined - true if the arguments have been inlined.
Can return original expression.
apply3
public java.lang.Object apply3(java.lang.Object container,
java.lang.Object part,
java.lang.Object value)
- Specified by:
apply3 in class Procedure3