Class: Snippets

Snippets

snippets implementation.
Source:

Members

(private) _filters :Set.<SnippetFilter>

All known snippet filters.
Type:
Source:

Methods

add(filter)

Adds a new snippet filter.
Parameters:
Name Type Description
filter SnippetFilter
Source:

clear()

Removes all known snippet filters.
Source:

getFiltersForDomain(domain) → {Array.<SnippetFilter>}

Returns a list of all snippet filters active on the given domain.
Parameters:
Name Type Description
domain string
Source:
Returns:
Type
Array.<SnippetFilter>

remove(filter)

Removes an existing snippet filter.
Parameters:
Name Type Description
filter SnippetFilter
Source: