Latest changes

git-svn-id: svn://10.0.0.236/trunk@30777 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
1999-05-07 22:07:22 +00:00
parent 8455e35b97
commit b307b926e7
8 changed files with 165 additions and 52 deletions

View File

@@ -6,6 +6,12 @@ class BinaryNode extends ExpressionNode {
right = aRight;
op = aOp;
}
void eval(Environment theEnv)
{
left.eval(theEnv);
right.eval(theEnv);
}
String print(String indent)
{
@@ -28,7 +34,7 @@ class BinaryNode extends ExpressionNode {
else
result.append(right.print(indent));
return result.toString();
}
}
protected ExpressionNode left;
protected ExpressionNode right;