public abstract class AJEFunction extends java.lang.Object implements Obj, NativeObject<java.util.function.Function<java.util.List<Obj>,Obj>>
| Modifier and Type | Field and Description |
|---|---|
static Type<AJEFunction> |
TYPE |
| Constructor and Description |
|---|
AJEFunction() |
| Modifier and Type | Method and Description |
|---|---|
Obj |
divide(Obj other)
Division operator in AJE.
|
abstract int |
getArity() |
Obj |
getAttr(java.lang.String name)
Attribute operator in AJE.
|
abstract java.util.List<Parameter> |
getParameters() |
Type<AJEFunction> |
getType() |
abstract Obj |
invoke(java.util.List<Obj> arguments)
Invcoation operator in AJE.
|
Obj |
minus(Obj other)
Subtraction operator in AJE.
|
Obj |
plus(Obj other)
Addition operator in AJE.
|
Obj |
times(Obj other)
Multiplication operator in AJE.
|
java.util.function.Function<java.util.List<Obj>,Obj> |
toNative() |
public static final Type<AJEFunction> TYPE
public abstract int getArity()
public abstract java.util.List<Parameter> getParameters()
public Type<AJEFunction> getType()
public java.util.function.Function<java.util.List<Obj>,Obj> toNative()
toNative in interface NativeObject<java.util.function.Function<java.util.List<Obj>,Obj>>toNative in interface Objnull if it doesn't implement the
NativeObject interface.public abstract Obj invoke(java.util.List<Obj> arguments)
Obja(b, c...).
Undefined.VALUE if not implemented.public Obj plus(Obj other)
Obj+.
Undefined.VALUE if not implemented.public Obj minus(Obj other)
Obj-.
Undefined.VALUE if not implemented.public Obj times(Obj other)
Obj*.
Undefined.VALUE if not implemented.public Obj divide(Obj other)
Obj/.
Undefined.VALUE if not implemented.public Obj getAttr(java.lang.String name)
Obja.b.
Undefined.VALUE if not implemented.