Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var KnownDirectives = []string{ constants.DIRECTIVE_EXTENSION_ENABLED, constants.DIRECTIVE_EXTENSION_VERBOSE, constants.DIRECTIVE_EXTENSION_QUIET, }
View Source
var NO_IMPORTS = Imports{ Set: map[string]bool{}, }
View Source
var SupportedKinds = map[string]rule.KindInfo{ constants.RULE_JS_LIBRARY: { MatchAny: false, NonEmptyAttrs: map[string]bool{ constants.ATTR_SOURCES: true, }, MergeableAttrs: map[string]bool{ constants.ATTR_SOURCES: true, constants.ATTR_TAGS: true, }, ResolveAttrs: map[string]bool{ constants.ATTR_DEPENDENCIES: true, constants.ATTR_DATA: true, }, }, constants.RULE_JS_TEST: { MatchAny: false, NonEmptyAttrs: map[string]bool{ constants.ATTR_ENTRY_POINT: true, }, MergeableAttrs: map[string]bool{ constants.ATTR_TAGS: true, }, ResolveAttrs: map[string]bool{ constants.ATTR_DEPENDENCIES: true, constants.ATTR_DATA: true, }, }, constants.RULE_TS_PROJECT: { MatchAny: false, NonEmptyAttrs: map[string]bool{ constants.ATTR_SOURCES: true, }, MergeableAttrs: map[string]bool{ constants.ATTR_SOURCES: true, constants.ATTR_TAGS: true, }, ResolveAttrs: map[string]bool{ constants.ATTR_DEPENDENCIES: true, constants.ATTR_DATA: true, }, }, }
Map of maps rule names (kinds) and information on how to match and merge attributes that may be found in rules of those kinds. This extension will only generate rules of the kinds defined here.
Functions ¶
This section is empty.
Types ¶
type WebConfig ¶
func NewWebConfig ¶
func NewWebConfig() *WebConfig
type WebConfigs ¶
func (*WebConfigs) ParentForPackage ¶
func (webConfigs *WebConfigs) ParentForPackage(pkg string) *WebConfig
Click to show internal directories.
Click to hide internal directories.