You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think anything in the tokens needs to change right?
You generate these when you generate the Node, at that point you have all the information you need. (first token and last token)
btw I purposely left this functionality out as it caused more complication in the new parser (added scope), but im glad to see an issue for it going forward
I don't think anything in the tokens needs to change right?
I think it depends on what we consider the span of a Node. The position of the last token is where the last token starts, not where the last token ends.
If no one is working on this, I'd like to work on this 😄
I think this is an important issue that needs to be resolved, and which users of boa have been struggling with (including me 😆 when trying to find bugs).
Activity
Razican commentedon Apr 3, 2020
I think this would be nice, yes, but for this, we would also need that
Spanfor tokens, as we have tokens of more than 1 character.jasonwilliams commentedon Apr 3, 2020
I don't think anything in the tokens needs to change right?
You generate these when you generate the
Node, at that point you have all the information you need. (first token and last token)btw I purposely left this functionality out as it caused more complication in the new parser (added scope), but im glad to see an issue for it going forward
Razican commentedon Apr 3, 2020
I think it depends on what we consider the span of a
Node. The position of the last token is where the last token starts, not where the last token ends.7 remaining items
HalidOdat commentedon Jun 4, 2025
If no one is working on this, I'd like to work on this 😄
I think this is an important issue that needs to be resolved, and which users of boa have been struggling with (including me 😆 when trying to find bugs).
nekevss commentedon Jun 4, 2025
Assigned! 😄 I think it has been one of our most requested features.