public override GrammarResult VisitParenthesizedExpression(SearchGrammarParser.ParenthesizedExpressionContext context) { this.trackTerms = false; base.Visit(context.children[0]); base.Visit(context.children[2]); this.trackTerms = true; return(base.Visit(context.children[1])); }
public override string VisitParenthesizedExpression(SearchGrammarParser.ParenthesizedExpressionContext context) { this.stringBuilder.AppendLine(new string(' ', this.currentDepth) + "ParenthesizedExpression"); this.currentDepth += 2; var result = base.VisitParenthesizedExpression(context); this.currentDepth -= 2; return(result); }