We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
md5: fbabfbd422b18a4cb610bf491fdb56a8
Issue Description:
Looks like depends on how the classification is checked, the result may be different. Let's consider this sample:
public func testClassification1() { let source = """ public final class Foo {} """ let tree = try! SyntaxParser.parse(source: source) for token in tree.tokens { for classification in token.classifications { print("\(token.text) - \(classification.kind)") } } }
output:
public - keyword class - keyword
Missing:
final - attribute
Now let's try this sample:
public func testClassification2() { let source = """ public final class Foo {} """ let tree = try! SyntaxParser.parse(source: source) for classification in tree.classifications { print("\(classification.kind)") } }
keyword attribute keyword
The text was updated successfully, but these errors were encountered:
Thanks for the test case!
Sorry, something went wrong.
#110
thanks!
No branches or pull requests
Additional Detail from JIRA
md5: fbabfbd422b18a4cb610bf491fdb56a8
Issue Description:
Looks like depends on how the classification is checked, the result may be different. Let's consider this sample:
output:
Missing:
Now let's try this sample:
output:
The text was updated successfully, but these errors were encountered: