Switching to JSValue throughout. Implementing operators per base type.

git-svn-id: svn://10.0.0.236/trunk@32415 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
1999-05-20 21:16:11 +00:00
parent faaa440343
commit 095914ec44
19 changed files with 298 additions and 125 deletions

View File

@@ -5,7 +5,7 @@ class JSStack {
Stack stack = new Stack();
void push(StackValue v)
void push(JSValue v)
{
stack.push(v);
}
@@ -15,9 +15,14 @@ class JSStack {
return stack.isEmpty();
}
StackValue pop()
JSValue pop()
{
return (StackValue)stack.pop();
return (JSValue)stack.pop();
}
JSValue peek()
{
return (JSValue)stack.peek();
}
int size()