groovy git commit: Add the missing constructor for NodeMetaDataHandlerHelper

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

groovy git commit: Add the missing constructor for NodeMetaDataHandlerHelper

sunlan
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_6_X e7869c70a -> 405ea77f8


Add the missing constructor for NodeMetaDataHandlerHelper


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/405ea77f
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/405ea77f
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/405ea77f

Branch: refs/heads/GROOVY_2_6_X
Commit: 405ea77f846ccde688709cb05dbfa17bb7b64f69
Parents: e7869c7
Author: sunlan <[hidden email]>
Authored: Sun Jun 18 23:13:39 2017 +0800
Committer: sunlan <[hidden email]>
Committed: Sun Jun 18 23:16:49 2017 +0800

----------------------------------------------------------------------
 src/main/org/codehaus/groovy/ast/NodeMetaDataHandlerHelper.java | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/405ea77f/src/main/org/codehaus/groovy/ast/NodeMetaDataHandlerHelper.java
----------------------------------------------------------------------
diff --git a/src/main/org/codehaus/groovy/ast/NodeMetaDataHandlerHelper.java b/src/main/org/codehaus/groovy/ast/NodeMetaDataHandlerHelper.java
index 6543a21..366873a 100644
--- a/src/main/org/codehaus/groovy/ast/NodeMetaDataHandlerHelper.java
+++ b/src/main/org/codehaus/groovy/ast/NodeMetaDataHandlerHelper.java
@@ -20,6 +20,7 @@ package org.codehaus.groovy.ast;
 
 import org.codehaus.groovy.GroovyBugError;
 import org.codehaus.groovy.util.ListHashMap;
+import static org.apache.groovy.parser.antlr4.GroovyLangParser.GroovyParserRuleContext;
 
 import java.util.Collections;
 import java.util.Map;
@@ -32,6 +33,10 @@ public class NodeMetaDataHandlerHelper {
         this.delegate = delegate;
     }
 
+    public NodeMetaDataHandlerHelper(GroovyParserRuleContext delegate) {
+        this.delegate = delegate;
+    }
+
     /**
      * Gets the node meta data.
      *

Loading...