:safe #'booleanp
:group 'context-coloring)
-(make-obsolete-variable
- 'context-coloring-js-block-scopes
- 'context-coloring-javascript-block-scopes
- "7.0.0")
-
(defsubst context-coloring-js2-scope-level (scope initial)
"Return the level of SCOPE, starting from INITIAL."
(cond ((gethash scope context-coloring-js2-scope-level-hash-table))
"\\)")
"Match a comment body hinting at a Node.js program.")
-;; TODO: Add ES6 module detection.
(defun context-coloring-js2-top-level-local-p ()
"Guess whether top-level variables are local.
For instance, the current file could be a Node.js program."