java.lang.Object
gnu.mapping.Procedure
gnu.mapping.Procedure1
regtest.basic.Nop
- All Implemented Interfaces:
- gnu.expr.Inlineable, gnu.mapping.Named
- public class Nop
- extends gnu.mapping.Procedure1
- implements gnu.expr.Inlineable
Taken from nice.lang.inline, to test inlined methods.
Just compiles its argument, producing no bytecode itself.
|
Field Summary |
private static Nop |
nop
|
| Fields inherited from class gnu.mapping.Procedure |
|
|
Constructor Summary |
Nop()
|
| Methods inherited from class gnu.mapping.Procedure |
apply, checkArgCount, getName, getProperty, getSetter, maxArgs, minArgs, name, removeProperty, set0, set1, setN, setName, setProperty, setProperty, toString |
nop
private static Nop nop
Nop
public Nop()
create
public static Nop create(java.lang.String param)
compile
public void compile(gnu.expr.ApplyExp exp,
gnu.expr.Compilation comp,
gnu.expr.Target target)
- Specified by:
compile in interface gnu.expr.Inlineable
getReturnType
public gnu.bytecode.Type getReturnType(gnu.expr.Expression[] args)
- Specified by:
getReturnType in interface gnu.expr.Inlineable
apply1
public java.lang.Object apply1(java.lang.Object arg1)