Function calling begun.

git-svn-id: svn://10.0.0.236/trunk@34703 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
1999-06-11 00:21:26 +00:00
parent 9899611910
commit 17cd7246b8
8 changed files with 104 additions and 13 deletions

View File

@@ -29,6 +29,12 @@ class BinaryNode extends ExpressionNode {
if (op == ".")
return lV.getProp(theEnv, rV.toJSString(theEnv));
else
if (op == "()")
return lV.call(theEnv, rV);
else
if (op == ",")
return JSValueList.buildList(lV, rV);
else {
System.out.println("missing binary op " + op);
return null;