Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8ED76200B97 for ; Sun, 9 Oct 2016 16:12:20 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8D733160ADA; Sun, 9 Oct 2016 14:12:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C3CC5160AC3 for ; Sun, 9 Oct 2016 16:12:19 +0200 (CEST) Received: (qmail 21848 invoked by uid 500); 9 Oct 2016 14:12:18 -0000 Mailing-List: contact notifications-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list notifications@groovy.apache.org Received: (qmail 21839 invoked by uid 99); 9 Oct 2016 14:12:18 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Oct 2016 14:12:18 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id D1345DFD4C; Sun, 9 Oct 2016 14:12:18 +0000 (UTC) From: mariogarcia To: notifications@groovy.apache.org Reply-To: notifications@groovy.apache.org References: In-Reply-To: Subject: [GitHub] groovy pull request #439: WIP Add groovy-macro docs Content-Type: text/plain Message-Id: <20161009141218.D1345DFD4C@git1-us-west.apache.org> Date: Sun, 9 Oct 2016 14:12:18 +0000 (UTC) archived-at: Sun, 09 Oct 2016 14:12:20 -0000 Github user mariogarcia commented on a diff in the pull request: https://github.com/apache/groovy/pull/439#discussion_r82523131 --- Diff: src/spec/doc/core-metaprogramming.adoc --- @@ -2868,6 +3015,90 @@ The difference is that when you use `assertScript`, the code in the `assertScrip unit test is executed*. That is to say that this time, the `Subject` class will be compiled with debugging active, and the breakpoint is going to be hit. +===== ASTMatcher + +Sometimes you may want to make assertions over AST nodes whether to filter those nodes, or to make sure a given --- End diff -- :+1: --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---