mirror of
https://github.com/github/semantic.git
synced 2024-11-23 16:37:50 +03:00
Set a role on the module name identifiers.
This commit is contained in:
parent
506d41c73d
commit
8ce450f0d1
@ -22,6 +22,7 @@
|
||||
(import_statement name: (dotted_name (identifier) @id)) @this
|
||||
{
|
||||
edge @this.node -> @id.node
|
||||
attr (@id.node) role = "module-name-fragment"
|
||||
attr (@this.node -> @id.node) index = (named-child-index @id)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user