385386387388389390391392393394395
while (p.parseString("&&")) { processInclusiveOrExpression(); Node expr = new Node(NodeType.OPERATOR, "&&"); expr.insertChildNode(stack.pop()); expr.insertChildNode(stack.pop()); stack.push(expr); } }
386387388389390391392393394395396
while (p.parseString("&&")) { processInclusiveOrExpression(); Node expr = new Node(NodeType.OPERATOR, "&&"); expr.insertChildNode(stack.pop()); expr.insertChildNode(stack.pop()); stack.push(expr); } } private void processInclusiveOrExpression()
399400401402403404405406407408409
while (p.parseChar('|', '|')) { processExclusiveOrExpression(); Node expr = new Node(NodeType.OPERATOR, "|"); expr.insertChildNode(stack.pop()); expr.insertChildNode(stack.pop()); stack.push(expr); } }
400401402403404405406407408409410
while (p.parseChar('|', '|')) { processExclusiveOrExpression(); Node expr = new Node(NodeType.OPERATOR, "|"); expr.insertChildNode(stack.pop()); expr.insertChildNode(stack.pop()); stack.push(expr); } } private void processExclusiveOrExpression()
413414415416417418419420421422423
while (p.parseChar('^')) { processAndExpression(); Node expr = new Node(NodeType.OPERATOR, "^"); expr.insertChildNode(stack.pop()); expr.insertChildNode(stack.pop()); stack.push(expr); } }
414415416417418419420421422423424
while (p.parseChar('^')) { processAndExpression(); Node expr = new Node(NodeType.OPERATOR, "^"); expr.insertChildNode(stack.pop()); expr.insertChildNode(stack.pop()); stack.push(expr); } } private void processAndExpression()
427428429430431432433434435436437
while (p.parseChar('&', '&')) { processRelationalExpression(); Node expr = new Node(NodeType.OPERATOR, "&"); expr.insertChildNode(stack.pop()); expr.insertChildNode(stack.pop()); stack.push(expr); } }
428429430431432433434435436437438
while (p.parseChar('&', '&')) { processRelationalExpression(); Node expr = new Node(NodeType.OPERATOR, "&"); expr.insertChildNode(stack.pop()); expr.insertChildNode(stack.pop()); stack.push(expr); } } /**
446447448449450451452453454455456
{ if (p.parseString("==")) { processAdditiveExpression(); Node expr = new Node(NodeType.OPERATOR, "=="); expr.insertChildNode(stack.pop()); expr.insertChildNode(stack.pop()); stack.push(expr); } else if (p.parseString("!=")) {
447448449450451452453454455456457
if (p.parseString("==")) { processAdditiveExpression(); Node expr = new Node(NodeType.OPERATOR, "=="); expr.insertChildNode(stack.pop()); expr.insertChildNode(stack.pop()); stack.push(expr); } else if (p.parseString("!=")) { processAdditiveExpression();