We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05a3919 commit c30599bCopy full SHA for c30599b
lang/traversal/Location.go
@@ -49,6 +49,6 @@ func RuleLocation(ctx antlr.ParserRuleContext, text string) TextLocation {
49
Col: ctx.GetStop().GetColumn(),
50
},
51
StopIdx: ctx.GetStop().GetStop(),
52
- Text: text[ctx.GetStart().GetStart() : ctx.GetStop().GetStop()+1],
+ Text: ctx.GetText(),
53
}
54
0 commit comments