DbEval ParsingCheckCondOp(DbEval result) { string next = PeekPart(); if (0 == string.Compare(next, "AND", true)) { NextPart(); // Eat the AND. DbEval nexteval = ParseBase(); result = new DbEvalAnd(this, result, nexteval); } else if (0 == string.Compare(next, "OR", true)) { NextPart(); // Eat the OR. DbEval nexteval = ParseBase(); result = new DbEvalOr(this, result, nexteval); } return(result); }
DbEval ParsingCheckCondOp(DbEval result) { string next = PeekPart(); if (0 == string.Compare(next, "AND", true)) { NextPart(); // Eat the AND. DbEval nexteval = ParseBase(); result = new DbEvalAnd(this, result, nexteval); } else if (0 == string.Compare(next, "OR", true)) { NextPart(); // Eat the OR. DbEval nexteval = ParseBase(); result = new DbEvalOr(this, result, nexteval); } return result; }