public bool TryEvaluate <T>(string query, SyntaxConfig syntaxConfig, out T result) where T : struct { if (LiteralEvaluator <T> .IsEvaluable == false) { result = default; return(false); } return(LiteralEvaluator <T> .TryEvaluate(query, StartPosition, Length, syntaxConfig.CultureInfo.NumberFormat, out result)); }
internal SyntaxConfig Build() { _syntaxConfig = _syntaxConfig ?? new SyntaxConfig(_keywordCaseSensitive, _columnNameCaseSensitive); return(_syntaxConfig); }