JSValue changes, closing in on JSObject API. Began 'correct' semantic
implementation for various operators. git-svn-id: svn://10.0.0.236/trunk@32626 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -10,6 +10,10 @@ class JSString extends JSValue {
|
||||
theEnv.theStack.push(this);
|
||||
}
|
||||
|
||||
void typeof(Environment theEnv) {
|
||||
theEnv.theStack.push(new JSString("string"));
|
||||
}
|
||||
|
||||
void add(Environment theEnv)
|
||||
{
|
||||
JSString vR = theEnv.theStack.pop().toJSString();
|
||||
@@ -88,6 +92,6 @@ class JSString extends JSValue {
|
||||
return this;
|
||||
}
|
||||
|
||||
String s;
|
||||
protected String s;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user