Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

refactor(rome_rowan): rework SyntaxTokenText into TokenText #4726

Merged
merged 1 commit into from
Jul 26, 2023
Merged

refactor(rome_rowan): rework SyntaxTokenText into TokenText #4726

merged 1 commit into from
Jul 26, 2023

Conversation

Conaclos
Copy link
Contributor

@Conaclos Conaclos commented Jul 25, 2023

Summary

This PR follows the discussion in #4721 (comment)

I renamed SyntaxTokenText to TextToken to communicate the fact that it is not related to SyntaxToken: there is no reference to parent nodes, and there is no way to get the absolute range of the text.

Following this renaming, I also renamed SyntaxTokenTextSlice to LocatedTokenText.

Test Plan

All test passed.

@netlify
Copy link

netlify bot commented Jul 25, 2023

Deploy Preview for docs-rometools ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 576589c
🔍 Latest deploy log https://app.netlify.com/sites/docs-rometools/deploys/64c031100f7d2100082c4fab
😎 Deploy Preview https://deploy-preview-4726--docs-rometools.netlify.app/playground
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@github-actions github-actions bot added A-Linter Area: linter A-Core Area: core A-Formatter Area: formatter L-JavaScript Langauge: JavaScript A-Parser Area: parser L-JSON Language: JSON labels Jul 25, 2023
@Conaclos Conaclos requested a review from ematipico July 25, 2023 20:35
@Conaclos Conaclos merged commit ac606e2 into rome:main Jul 26, 2023
19 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Core Area: core A-Formatter Area: formatter A-Linter Area: linter A-Parser Area: parser L-JavaScript Langauge: JavaScript L-JSON Language: JSON
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants