Documentation
¶
Index ¶
- Variables
- func Explode(value string) *[]string
- func FileExists(path string) bool
- func FullPath(file string, base string, replacers *map[string]string) string
- func LocateImports(prefix *string, code *string) []string
- func Preprocess(code string, rules *[]string) string
- func TraverseDirectory(root *string, extensions *[]string, ignoredPaths *[]string) (*[]File, error)
- type File
Constants ¶
This section is empty.
Variables ¶
View Source
var Comments = []string{
`//.*[\n\r]`,
`/\*[\s\S]*\*/`,
}
rules for matching comments
Functions ¶
func LocateImports ¶
find all occurences/usage of an imported module/package
func Preprocess ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.