public override RxKqlScalarValue VisitLiteralExpression(LiteralExpression node) { return(new RxKqlScalarValue { Left = $"Column{++NamelessCounter}", Right = node.Accept(new ScalarValueConverter()) }); }
public override void VisitLiteralExpression(LiteralExpression node) { if (node.Kind == SyntaxKind.StringLiteralExpression) { // string literals in predicate positions are abbreviations of: * has <literal> _binder.SetSemanticInfo(node, new SemanticInfo(ScalarTypes.Bool)); } else { node.Accept(_treeBinder); } }