You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2017/05/13 11:52:06 UTC
groovy git commit: minor refactor after 'Refine node position of
fields'
Repository: groovy
Updated Branches:
refs/heads/master 7da88ad24 -> c68cfc165
minor refactor after 'Refine node position of fields'
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/c68cfc16
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/c68cfc16
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/c68cfc16
Branch: refs/heads/master
Commit: c68cfc1659b6afafc1c6c643186c7c89ab184db2
Parents: 7da88ad
Author: paulk <pa...@asert.com.au>
Authored: Sat May 13 21:51:55 2017 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Sat May 13 21:51:55 2017 +1000
----------------------------------------------------------------------
src/test/org/codehaus/groovy/ast/LineColumnCheck.txt | 9 +++++++++
src/test/org/codehaus/groovy/ast/LineColumnCheck_antlr2.txt | 9 ---------
src/test/org/codehaus/groovy/ast/LineColumnCheck_antlr4.txt | 9 ---------
3 files changed, 9 insertions(+), 18 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/c68cfc16/src/test/org/codehaus/groovy/ast/LineColumnCheck.txt
----------------------------------------------------------------------
diff --git a/src/test/org/codehaus/groovy/ast/LineColumnCheck.txt b/src/test/org/codehaus/groovy/ast/LineColumnCheck.txt
index 7895ca1..825bb63 100644
--- a/src/test/org/codehaus/groovy/ast/LineColumnCheck.txt
+++ b/src/test/org/codehaus/groovy/ast/LineColumnCheck.txt
@@ -17,6 +17,15 @@
under the License.
====
+###FieldNode:::
+public class Test {
+ public attribute = 6, second = 9
+ String prop = "property"
+}
+:::[FieldNode,(2:2),(2:22)][ConstantExpression,(2:21),(2:22)];
+[FieldNode,(2:24),(2:34)][ConstantExpression,(2:33),(2:34)];
+[FieldNode,(3:2),(3:26)][ConstantExpression,(3:16),(3:26)]
+
###wholeAnnotationExpressionSelection:::
import java.lang.annotation.*
@Target([ElementType.TYPE])
http://git-wip-us.apache.org/repos/asf/groovy/blob/c68cfc16/src/test/org/codehaus/groovy/ast/LineColumnCheck_antlr2.txt
----------------------------------------------------------------------
diff --git a/src/test/org/codehaus/groovy/ast/LineColumnCheck_antlr2.txt b/src/test/org/codehaus/groovy/ast/LineColumnCheck_antlr2.txt
index dd70f0a..54e707d 100644
--- a/src/test/org/codehaus/groovy/ast/LineColumnCheck_antlr2.txt
+++ b/src/test/org/codehaus/groovy/ast/LineColumnCheck_antlr2.txt
@@ -17,15 +17,6 @@
under the License.
====
-###FieldNode:::
-public class Test {
- public attribute = 6, second = 9
- String prop = "property"
-}
-:::[FieldNode,(2:2),(2:22)][ConstantExpression,(2:21),(2:22)];
-[FieldNode,(2:24),(2:34)][ConstantExpression,(2:33),(2:34)];
-[FieldNode,(3:2),(3:26)][ConstantExpression,(3:16),(3:26)]
-
###ifElse:::
if (expression) {
http://git-wip-us.apache.org/repos/asf/groovy/blob/c68cfc16/src/test/org/codehaus/groovy/ast/LineColumnCheck_antlr4.txt
----------------------------------------------------------------------
diff --git a/src/test/org/codehaus/groovy/ast/LineColumnCheck_antlr4.txt b/src/test/org/codehaus/groovy/ast/LineColumnCheck_antlr4.txt
index 8659937..6f26726 100644
--- a/src/test/org/codehaus/groovy/ast/LineColumnCheck_antlr4.txt
+++ b/src/test/org/codehaus/groovy/ast/LineColumnCheck_antlr4.txt
@@ -17,15 +17,6 @@
under the License.
====
-###FieldNode:::
-public class Test {
- public attribute = 6, second = 9
- String prop = "property"
-}
-:::[FieldNode,(2:2),(2:22)][ConstantExpression,(2:21),(2:22)];
-[FieldNode,(2:24),(2:34)][ConstantExpression,(2:33),(2:34)];
-[FieldNode,(3:2),(3:26)][ConstantExpression,(3:16),(3:26)]
-
###ifElse:::
if (expression) {