Function: semantic-tag-protection-js-mode

semantic-tag-protection-js-mode is a byte-compiled function defined in javascript.el.gz.

Signature

(semantic-tag-protection-js-mode TAG &optional PARENT)

Documentation

Return protection information about TAG with optional PARENT.

This function returns on of the following symbols:
   nil - No special protection. Language dependent.
   public - Anyone can access this TAG.
   private - Only methods in the local scope can access TAG.
   protected - Like private for outside scopes, like public for child
                 classes.
Some languages may choose to provide additional return symbols specific to themselves. Use of this function should allow for this.

The default behavior (if not overridden with tag-protection is to return a symbol based on type modifiers. Override semantic-tag-protection in js-mode buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent/javascript.el.gz
(define-mode-local-override semantic-tag-protection js-mode (_tag &optional _parent)
  "Return protection information about TAG with optional PARENT.
This function returns on of the following symbols:
   nil         - No special protection.  Language dependent.
   `public'    - Anyone can access this TAG.
   `private'   - Only methods in the local scope can access TAG.
   `protected' - Like private for outside scopes, like public for child
                 classes.
Some languages may choose to provide additional return symbols specific
to themselves.  Use of this function should allow for this.

The default behavior (if not overridden with `tag-protection'
is to return a symbol based on type modifiers."
  nil)