forked from jasder/antlr
rm unneeded class
This commit is contained in:
parent
42e5343287
commit
3439df0fb0
|
@ -1,20 +0,0 @@
|
||||||
package org.antlr.v4.runtime.tree.pattern;
|
|
||||||
|
|
||||||
import org.antlr.v4.runtime.ParserRuleContext;
|
|
||||||
|
|
||||||
public class RuleSubtreeNode extends ParserRuleContext {
|
|
||||||
RuleTagToken ruleTagToken;
|
|
||||||
|
|
||||||
public RuleSubtreeNode(ParserRuleContext ctx) {
|
|
||||||
copyFrom(ctx);
|
|
||||||
this.ruleTagToken = (RuleTagToken)ctx.start; // first (and only) token is the <ruletag>
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getText() {
|
|
||||||
return ruleTagToken.getText();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public int getRuleIndex() { return ruleTagToken.ruleIndex; }
|
|
||||||
}
|
|
Loading…
Reference in New Issue