private int GetCurrentOperatorPrecedence(ParseContext context, OperatorType operatorType, out bool isUnary) { isUnary = false; if (IsUnaryOperator(context.Tokens, operatorType, -1)) { operatorType = OperatorType.Unary; isUnary = true; } return(OperatorPrecedence.GetPrecedence(operatorType)); }