You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within VisitNotExpression method, populating metadata property of Lexer.Token with negation property can be added at least for MethodCallExpression token.
Then node.metadata?.negation can be used in VisitMethodCallExpression method.
I think this solution is quite suitable because the question is just whether NOT token should be inserted into a query of one of a few already processed method expressions or not.
Activity
michael-zaytsev commentedon Nov 24, 2021
How I see the solution...
Within
VisitNotExpressionmethod, populatingmetadataproperty ofLexer.Tokenwithnegationproperty can be added at least forMethodCallExpressiontoken.Then
node.metadata?.negationcan be used inVisitMethodCallExpressionmethod.I think this solution is quite suitable because the question is just whether
NOTtoken should be inserted into a query of one of a few already processed method expressions or not.