Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Missing scopes for angle brackets and commas #23

Closed
chbk opened this issue Oct 5, 2015 · 2 comments
Closed

Missing scopes for angle brackets and commas #23

chbk opened this issue Oct 5, 2015 · 2 comments
Assignees
Labels

Comments

@chbk
Copy link
Contributor

chbk commented Oct 5, 2015

Angle brackets and commas aren't tokenized when used for generic type parameters:

java1

html1

java3

html3

@50Wliu 50Wliu added the bug label Oct 5, 2015
@50Wliu
Copy link
Contributor

50Wliu commented Nov 3, 2015

Question: what should the T in your second example be tokenized as? Should it even have its own special token?

@50Wliu 50Wliu self-assigned this Nov 3, 2015
@chbk
Copy link
Contributor Author

chbk commented Nov 9, 2015

T stands for generic type, it's a placeholder for an actual class when instantiating List. IMO it should be tokenized the same way as Integer and String above.

50Wliu added a commit that referenced this issue Dec 10, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants