Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDelimiters ¶
Get a list of delimiters to use for flag key matching If defaults are disabled, only additional configured delimiters will be used
func SearchForRefs ¶
func SearchForRefs(directory string, matcher Matcher) ([]gb.ReferenceHunksRep, error)
Types ¶
type ElementMatcher ¶
type ElementMatcher struct { Elements []string Dir string // contains filtered or unexported fields }
func NewElementMatcher ¶
func NewElementMatcher(dir, delimiters string, elements []string, aliasesByElement map[string][]string) ElementMatcher
func (ElementMatcher) FindAliases ¶
func (m ElementMatcher) FindAliases(line, element string) []string
func (ElementMatcher) FindMatches ¶
func (m ElementMatcher) FindMatches(line string) []string
type Matcher ¶
type Matcher struct { Elements []ElementMatcher // contains filtered or unexported fields }
func NewMultiProjectMatcher ¶
func Scan ¶
Scan checks the configured directory for flags based on the options configured for Code References.
func (Matcher) FindAliases ¶
func (Matcher) GetElementMatcher ¶
func (m Matcher) GetElementMatcher() *ElementMatcher
func (Matcher) GetElements ¶
func (Matcher) MatchElement ¶
Click to show internal directories.
Click to hide internal directories.