Class: CommentFilter

(private) filterClasses.CommentFilter(text)

Class for comments

Constructor

(private) new CommentFilter(text)

Parameters:
Name Type Description
text string

see Filter()

Source:

Extends

Members

requiresPrivilegedSubscription :bool

True if filter should only be loaded if it comes from a privileged subscription (circumvention subscriptions or special subscriptions).

Type:
  • bool
Overrides:
Source:

type :string

Filter type as a string, e.g. "blocking".

Can be blocking, allowing, elemhide, elemhideexception, elemhideemulation, snippet, comment or invalid.

Type:
  • string
Overrides:
Source:

Methods

(generator) serialize() → {string}

Serializes the filter for writing out on disk.

Overrides:
Source:
Yields:
Type
string