|
|
@ -2,14 +2,14 @@
|
|
|
|
; module declaration
|
|
|
|
; module declaration
|
|
|
|
(attribute
|
|
|
|
(attribute
|
|
|
|
name: (atom) @keyword
|
|
|
|
name: (atom) @keyword
|
|
|
|
(arguments (atom) @module)
|
|
|
|
(arguments (atom) @namespace)
|
|
|
|
(#eq? @keyword "module"))
|
|
|
|
(#eq? @keyword "module"))
|
|
|
|
|
|
|
|
|
|
|
|
(attribute
|
|
|
|
(attribute
|
|
|
|
name: (atom) @keyword
|
|
|
|
name: (atom) @keyword
|
|
|
|
(arguments
|
|
|
|
(arguments
|
|
|
|
.
|
|
|
|
.
|
|
|
|
(atom) @module)
|
|
|
|
(atom) @namespace)
|
|
|
|
(#eq? @keyword "import"))
|
|
|
|
(#eq? @keyword "import"))
|
|
|
|
|
|
|
|
|
|
|
|
(attribute
|
|
|
|
(attribute
|
|
|
@ -54,15 +54,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
(attribute
|
|
|
|
(attribute
|
|
|
|
name: (atom) @keyword
|
|
|
|
name: (atom) @keyword
|
|
|
|
module: (atom) @module
|
|
|
|
|
|
|
|
(#eq? @keyword "(spec|callback)"))
|
|
|
|
(#eq? @keyword "(spec|callback)"))
|
|
|
|
|
|
|
|
module: (atom) @namespace
|
|
|
|
|
|
|
|
|
|
|
|
; Functions
|
|
|
|
; Functions
|
|
|
|
(function_clause name: (atom) @function)
|
|
|
|
(function_clause name: (atom) @function)
|
|
|
|
(call module: (atom) @module)
|
|
|
|
(call module: (atom) @namespace)
|
|
|
|
(call function: (atom) @function)
|
|
|
|
(call function: (atom) @function)
|
|
|
|
(stab_clause name: (atom) @function)
|
|
|
|
(stab_clause name: (atom) @function)
|
|
|
|
(function_capture module: (atom) @module)
|
|
|
|
(function_capture module: (atom) @namespace)
|
|
|
|
(function_capture function: (atom) @function)
|
|
|
|
(function_capture function: (atom) @function)
|
|
|
|
|
|
|
|
|
|
|
|
; Records
|
|
|
|
; Records
|
|
|
|