|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcaas.script_nodes.AbstractInterpretable
jcaas.script_nodes.Statement
jcaas.script_nodes.FunctionCall
public class FunctionCall
This class represents a func_stmt node in a syntax tree of a script.
Field Summary |
---|
Fields inherited from class jcaas.script_nodes.Statement |
---|
NULLSTATEMENT |
Constructor Summary | |
---|---|
FunctionCall(Identifier id)
Constructor for when the function has no arguments. |
|
FunctionCall(Identifier id,
ArgumentList list)
Constructor for the rule func_stmt ::= IDENTIFIER ( argument_list ) |
Method Summary | |
---|---|
void |
interpret(Context c)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FunctionCall(Identifier id, ArgumentList list)
id
- the name of the function.list
- a list of arguments to the function.public FunctionCall(Identifier id)
id
- Method Detail |
---|
public void interpret(Context c)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |