for (;;)
{
if (p.parseString("<="))
{
compileAdditiveExpression();
Node expr = new Node(Node.OPERATOR, "<=");
expr.insertChildNode((Node) stack.pop());
expr.insertChildNode((Node) stack.pop());
stack.push(expr);
}
else if (p.parseString(">="))
{
compileAdditiveExpression();
Node expr = new Node(Node.OPERATOR, ">=");
expr.insertChildNode((Node) stack.pop());
expr.insertChildNode((Node) stack.pop());
stack.push(expr);
}
else if (p.parseChar('<'))
{
compileAdditiveExpression();
Node expr = new Node(Node.OPERATOR, "<");
expr.insertChildNode((Node) stack.pop());
expr.insertChildNode((Node) stack.pop());
stack.push(expr);
}
else if (p.parseChar('>'))
{
compileAdditiveExpression();
Node expr = new Node(Node.OPERATOR, ">");
expr.insertChildNode((Node) stack.pop());
expr.insertChildNode((Node) stack.pop());
stack.push(expr);
}
else if (p.parseString("instanceof"))
{
compileAdditiveExpression();
Node expr = new Node(Node.OPERATOR, "instanceof");
expr.insertChildNode((Node) stack.pop());
expr.insertChildNode((Node) stack.pop());
stack.push(expr);
}
else
{
break;