h

package
Version: v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 5 Imported by: 45

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HCL = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "HCL",
		Aliases:   []string{"hcl"},
		Filenames: []string{"*.hcl"},
		MimeTypes: []string{"application/x-hcl"},
	},
	hclRules,
))

HCL lexer.

View Source
var HLB = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "HLB",
		Aliases:   []string{"hlb"},
		Filenames: []string{"*.hlb"},
		MimeTypes: []string{},
	},
	hlbRules,
))

HLB lexer.

View Source
var HTML = internal.Register(MustNewLazyLexer(
	&Config{
		Name:            "HTML",
		Aliases:         []string{"html"},
		Filenames:       []string{"*.html", "*.htm", "*.xhtml", "*.xslt"},
		MimeTypes:       []string{"text/html", "application/xhtml+xml"},
		NotMultiline:    true,
		DotAll:          true,
		CaseInsensitive: true,
	},
	htmlRules,
))

HTML lexer.

View Source
var HTTP = internal.Register(httpBodyContentTypeLexer(MustNewLazyLexer(
	&Config{
		Name:         "HTTP",
		Aliases:      []string{"http"},
		Filenames:    []string{},
		MimeTypes:    []string{},
		NotMultiline: true,
		DotAll:       true,
	},
	httpRules,
)))

HTTP lexer.

View Source
var Handlebars = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Handlebars",
		Aliases:   []string{"handlebars", "hbs"},
		Filenames: []string{"*.handlebars", "*.hbs"},
		MimeTypes: []string{},
	},
	handlebarsRules,
))

Handlebars lexer.

View Source
var Haskell = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Haskell",
		Aliases:   []string{"haskell", "hs"},
		Filenames: []string{"*.hs"},
		MimeTypes: []string{"text/x-haskell"},
	},
	haskellRules,
))

Haskell lexer.

View Source
var Haxe = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Haxe",
		Aliases:   []string{"hx", "haxe", "hxsl"},
		Filenames: []string{"*.hx", "*.hxsl"},
		MimeTypes: []string{"text/haxe", "text/x-haxe", "text/x-hx"},
		DotAll:    true,
	},
	haxeRules,
))

Haxe lexer.

View Source
var Hexdump = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Hexdump",
		Aliases:   []string{"hexdump"},
		Filenames: []string{},
		MimeTypes: []string{},
	},
	hexdumpRules,
))

Hexdump lexer.

View Source
var Hy = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Hy",
		Aliases:   []string{"hylang"},
		Filenames: []string{"*.hy"},
		MimeTypes: []string{"text/x-hy", "application/x-hy"},
	},
	hyRules,
))

Hy lexer.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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