use of org.apache.groovy.parser.antlr4.GroovyParser.ParExpressionContext in project groovy by apache.
the class AstBuilder method visitParExpression.
@Override
public Expression visitParExpression(final ParExpressionContext ctx) {
Expression expression = this.visitExpressionInPar(ctx.expressionInPar());
expression.getNodeMetaData(INSIDE_PARENTHESES_LEVEL, k -> new java.util.concurrent.atomic.AtomicInteger()).getAndAdd(1);
return configureAST(expression, ctx);
}
Aggregations