forked from jasder/antlr
remove unused type param
This commit is contained in:
parent
c590ba8fd8
commit
7be2ba9d42
|
@ -95,7 +95,7 @@ public class Trees {
|
||||||
return buf.toString();
|
return buf.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static <Symbol> String getNodeText(Tree t, Parser recog) {
|
public static String getNodeText(Tree t, Parser recog) {
|
||||||
if ( recog!=null ) {
|
if ( recog!=null ) {
|
||||||
if ( t instanceof ParseTree.RuleNode ) {
|
if ( t instanceof ParseTree.RuleNode ) {
|
||||||
int ruleIndex = ((ParseTree.RuleNode)t).getRuleContext().getRuleIndex();
|
int ruleIndex = ((ParseTree.RuleNode)t).getRuleContext().getRuleIndex();
|
||||||
|
|
Loading…
Reference in New Issue