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 12:16:29 UTC
[6/6] groovy git commit: minor refactor after 'Refine node position
of fields'
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/6f78baf8
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/6f78baf8
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/6f78baf8
Branch: refs/heads/GROOVY_2_6_X
Commit: 6f78baf82e18c47d4ffc1dfb8bc3a8cfd190b3ed
Parents: d822809
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 22:01:46 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/6f78baf8/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/6f78baf8/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/6f78baf8/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) {