generator

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2017 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aliases

func Aliases(fileToParse, samplesDir, outPath, tmplPath, tmplName, commit string) error

Aliases reads from fileToParse and builds source file from tmplPath. It complies with type File signature.

func Commit added in v1.3.0

func Commit(fileToParse, samplesDir, outPath, tmplPath, tmplName, commit string) error

Commit takes a commit and builds the source file from tmplPath. It complies with type File signature.

func Documentation

func Documentation(fileToParse, samplesDir, outPath, tmplPath, tmplName, commit string) error

Documentation reads from fileToParse and builds source file from tmplPath. It complies with type File signature.

func Extensions

func Extensions(fileToParse, samplesDir, outPath, tmplPath, tmplName, commit string) error

Extensions reads from fileToParse and builds source file from tmplPath. It complies with type File signature.

func Filenames

func Filenames(fileToParse, samplesDir, outPath, tmplPath, tmplName, commit string) error

Filenames reads from fileToParse and builds source file from tmplPath. It complies with type File signature.

func Frequencies added in v1.2.1

func Frequencies(fileToParse, samplesDir, outPath, tmplPath, tmplName, commit string) error

Frequencies reads directories in samplesDir, retrieves information about frequencies of languages and tokens, and write the file outPath using tmplName as a template. It complies with type File signature.

func Heuristics

func Heuristics(fileToParse, samplesDir, outPath, tmplPath, tmplName, commit string) error

Heuristics reads from fileToParse and builds source file from tmplPath. It complies with type File signature.

func Interpreters

func Interpreters(fileToParse, samplesDir, outPath, tmplPath, tmplName, commit string) error

Interpreters reads from fileToParse and builds source file from tmplPath. It complies with type File signature.

func MimeType added in v1.3.3

func MimeType(fileToParse, samplesDir, outPath, tmplPath, tmplName, commit string) error

func Types

func Types(fileToParse, samplesDir, outPath, tmplPath, tmplName, commit string) error

Types reads from fileToParse and builds source file from tmplPath. It complies with type File signature.

func Vendor

func Vendor(fileToParse, samplesDir, outPath, tmplPath, tmplName, commit string) error

Vendor reads from fileToParse and builds source file from tmplPath. It complies with type File signature.

Types

type File added in v1.2.1

type File func(fileToParse, samplesDir, outPath, tmplPath, tmplName, commit string) error

File is the function's type that generate source file from a file to be parsed, linguist's samples dir and a template.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL