Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Language ¶
type Language struct { configurer.Configurer resolver.Resolver }
Language implements the language.Language interface.
func (*Language) GenerateRules ¶
func (l *Language) GenerateRules(args language.GenerateArgs) language.GenerateResult
GenerateRules implements the language.Language interface.
GenerateRules generates build rules for source files in a directory. GenerateRules is called in each directory where an update is requested in depth-first order.
This method does not populate the deps argument of any generate rules. Dependencies are resolved in Resolver.Resolve(), which happens after GenerateRules is called in each directory where an update is requested.
func (*Language) Kinds ¶
Kinds implements the language.Language interface.
Interface documentation:
Kinds returns a map of maps rule names (kinds) and information on how to match and merge attributes that may be found in rules of those kinds. All kinds of rules generated for this language may be found here.