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

@@ -151,6 +151,10 @@ class JSValue extends ExpressionNode {
return toJSObject(theEnv).putProp(theEnv, id, rV);
}
JSValue call(Environment theEnv, JSValue rV) {
throw new JSException(new JSString("[[call]] not implemented"));
}
JSValue defaultValue(Environment theEnv, String hint) {
/*
When the [[DefaultValue]] method of O is called with hint String, the following steps are taken: