com.irs.jam
Class FunctionCall
java.lang.Object
|
+--com.irs.jam.Expression
|
+--com.irs.jam.FunctionCall
- All Implemented Interfaces:
- java.io.Serializable
- public class FunctionCall
- extends Expression
- implements java.io.Serializable
Represents a function call
- See Also:
- Serialized Form
Method Summary |
Value |
eval(Binding binding)
Perform the function |
void |
format(java.io.PrintStream s,
Binding b)
Display information considering that it will be in-line
with other information |
ExpList |
getArgs()
|
int |
getArity()
|
java.lang.String |
getName()
|
int |
getType()
|
void |
print(java.io.PrintStream s,
Binding b)
Display information without considering it being in-line
with other information |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_name
protected java.lang.String _name
_classname
protected java.lang.String _classname
_arity
protected int _arity
_args
protected ExpList _args
_object
protected Variable _object
_interpreter
protected Interpreter _interpreter
getName
public java.lang.String getName()
- Overrides:
getName
in class Expression
getArgs
public ExpList getArgs()
getArity
public int getArity()
getType
public int getType()
- Overrides:
getType
in class Expression
eval
public Value eval(Binding binding)
- Perform the function
- Overrides:
eval
in class Expression
print
public void print(java.io.PrintStream s,
Binding b)
- Display information without considering it being in-line
with other information
- Overrides:
print
in class Expression
format
public void format(java.io.PrintStream s,
Binding b)
- Display information considering that it will be in-line
with other information
- Overrides:
format
in class Expression