a

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: 2 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

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

ANTLR lexer.

View Source
var Abap = internal.Register(MustNewLazyLexer(
	&Config{
		Name:            "ABAP",
		Aliases:         []string{"abap"},
		Filenames:       []string{"*.abap", "*.ABAP"},
		MimeTypes:       []string{"text/x-abap"},
		CaseInsensitive: true,
	},
	abapRules,
))

ABAP lexer.

View Source
var Abnf = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "ABNF",
		Aliases:   []string{"abnf"},
		Filenames: []string{"*.abnf"},
		MimeTypes: []string{"text/x-abnf"},
	},
	abnfRules,
))

Abnf lexer.

View Source
var Actionscript = internal.Register(MustNewLazyLexer(
	&Config{
		Name:         "ActionScript",
		Aliases:      []string{"as", "actionscript"},
		Filenames:    []string{"*.as"},
		MimeTypes:    []string{"application/x-actionscript", "text/x-actionscript", "text/actionscript"},
		NotMultiline: true,
		DotAll:       true,
	},
	actionscriptRules,
))

Actionscript lexer.

View Source
var Actionscript3 = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "ActionScript 3",
		Aliases:   []string{"as3", "actionscript3"},
		Filenames: []string{"*.as"},
		MimeTypes: []string{"application/x-actionscript3", "text/x-actionscript3", "text/actionscript3"},
		DotAll:    true,
	},
	actionscript3Rules,
))

Actionscript 3 lexer.

View Source
var Ada = internal.Register(MustNewLazyLexer(
	&Config{
		Name:            "Ada",
		Aliases:         []string{"ada", "ada95", "ada2005"},
		Filenames:       []string{"*.adb", "*.ads", "*.ada"},
		MimeTypes:       []string{"text/x-ada"},
		CaseInsensitive: true,
	},
	adaRules,
))

Ada lexer.

View Source
var Al = internal.Register(MustNewLazyLexer(
	&Config{
		Name:            "AL",
		Aliases:         []string{"al"},
		Filenames:       []string{"*.al", "*.dal"},
		MimeTypes:       []string{"text/x-al"},
		DotAll:          true,
		CaseInsensitive: true,
	},
	alRules,
))

Al lexer.

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

Angular2 lexer.

View Source
var Apacheconf = internal.Register(MustNewLazyLexer(
	&Config{
		Name:            "ApacheConf",
		Aliases:         []string{"apacheconf", "aconf", "apache"},
		Filenames:       []string{".htaccess", "apache.conf", "apache2.conf"},
		MimeTypes:       []string{"text/x-apacheconf"},
		CaseInsensitive: true,
	},
	apacheconfRules,
))

Apacheconf lexer.

View Source
var Apl = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "APL",
		Aliases:   []string{"apl"},
		Filenames: []string{"*.apl"},
		MimeTypes: []string{},
	},
	aplRules,
))

Apl lexer.

View Source
var Applescript = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "AppleScript",
		Aliases:   []string{"applescript"},
		Filenames: []string{"*.applescript"},
		MimeTypes: []string{},
		DotAll:    true,
	},
	applescriptRules,
))

Applescript lexer.

View Source
var Arduino = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Arduino",
		Aliases:   []string{"arduino"},
		Filenames: []string{"*.ino"},
		MimeTypes: []string{"text/x-arduino"},
		EnsureNL:  true,
	},
	arduinoRules,
))

Arduino lexer.

View Source
var ArmAsm = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "ArmAsm",
		Aliases:   []string{"armasm"},
		EnsureNL:  true,
		Filenames: []string{"*.s", "*.S"},
		MimeTypes: []string{"text/x-armasm", "text/x-asm"},
	},
	armasmRules,
))
View Source
var Awk = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Awk",
		Aliases:   []string{"awk", "gawk", "mawk", "nawk"},
		Filenames: []string{"*.awk"},
		MimeTypes: []string{"application/x-awk"},
	},
	awkRules,
))

Awk 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