t

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: 15

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TOML = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "TOML",
		Aliases:   []string{"toml"},
		Filenames: []string{"*.toml"},
		MimeTypes: []string{"text/x-toml"},
	},
	tomlRules,
))
View Source
var Tablegen = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "TableGen",
		Aliases:   []string{"tablegen"},
		Filenames: []string{"*.td"},
		MimeTypes: []string{"text/x-tablegen"},
	},
	tablegenRules,
))

TableGen lexer.

View Source
var Tasm = internal.Register(MustNewLazyLexer(
	&Config{
		Name:            "TASM",
		Aliases:         []string{"tasm"},
		Filenames:       []string{"*.asm", "*.ASM", "*.tasm"},
		MimeTypes:       []string{"text/x-tasm"},
		CaseInsensitive: true,
	},
	tasmRules,
))

Tasm lexer.

View Source
var Tcl = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Tcl",
		Aliases:   []string{"tcl"},
		Filenames: []string{"*.tcl", "*.rvt"},
		MimeTypes: []string{"text/x-tcl", "text/x-script.tcl", "application/x-tcl"},
	},
	tclRules,
))

Tcl lexer.

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

Tcsh lexer.

View Source
var TeX = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "TeX",
		Aliases:   []string{"tex", "latex"},
		Filenames: []string{"*.tex", "*.aux", "*.toc"},
		MimeTypes: []string{"text/x-tex", "text/x-latex"},
	},
	texRules,
))

Tex lexer.

View Source
var Termcap = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Termcap",
		Aliases:   []string{"termcap"},
		Filenames: []string{"termcap", "termcap.src"},
		MimeTypes: []string{},
	},
	termcapRules,
))

Termcap lexer.

View Source
var Terminfo = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Terminfo",
		Aliases:   []string{"terminfo"},
		Filenames: []string{"terminfo", "terminfo.src"},
		MimeTypes: []string{},
	},
	terminfoRules,
))

Terminfo lexer.

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

Terraform lexer.

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

Thrift lexer.

View Source
var TradingView = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "TradingView",
		Aliases:   []string{"tradingview", "tv"},
		Filenames: []string{"*.tv"},
		MimeTypes: []string{"text/x-tradingview"},
		DotAll:    true,
		EnsureNL:  true,
	},
	tradingViewRules,
))

TradingView lexer

View Source
var TransactSQL = internal.Register(MustNewLazyLexer(
	&Config{
		Name:            "Transact-SQL",
		Aliases:         []string{"tsql", "t-sql"},
		MimeTypes:       []string{"text/x-tsql"},
		NotMultiline:    true,
		CaseInsensitive: true,
	},
	transactSQLRules,
))

TransactSQL lexer.

View Source
var Turing = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Turing",
		Aliases:   []string{"turing"},
		Filenames: []string{"*.turing", "*.tu"},
		MimeTypes: []string{"text/x-turing"},
	},
	turingRules,
))

Turing lexer.

View Source
var Turtle = internal.Register(MustNewLazyLexer(
	&Config{
		Name:            "Turtle",
		Aliases:         []string{"turtle"},
		Filenames:       []string{"*.ttl"},
		MimeTypes:       []string{"text/turtle", "application/x-turtle"},
		NotMultiline:    true,
		CaseInsensitive: true,
	},
	turtleRules,
))

Turtle lexer.

View Source
var Twig = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "Twig",
		Aliases:   []string{"twig"},
		Filenames: []string{},
		MimeTypes: []string{"application/x-twig"},
		DotAll:    true,
	},
	twigRules,
))

Twig lexer.

View Source
var TypeScript = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "TypeScript",
		Aliases:   []string{"ts", "tsx", "typescript"},
		Filenames: []string{"*.ts", "*.tsx"},
		MimeTypes: []string{"text/x-typescript"},
		DotAll:    true,
		EnsureNL:  true,
	},
	typeScriptRules,
))

TypeScript lexer.

View Source
var TypoScriptCSSData = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "TypoScriptCssData",
		Aliases:   []string{"typoscriptcssdata"},
		Filenames: []string{},
		MimeTypes: []string{},
	},
	typoScriptCSSDataRules,
))

TypoScriptCSSData lexer.

View Source
var TypoScriptHTMLData = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "TypoScriptHtmlData",
		Aliases:   []string{"typoscripthtmldata"},
		Filenames: []string{},
		MimeTypes: []string{},
	},
	typoScriptHTMLDataRules,
))

TypoScriptHTMLData lexer.

View Source
var Typoscript = internal.Register(MustNewLazyLexer(
	&Config{
		Name:      "TypoScript",
		Aliases:   []string{"typoscript"},
		Filenames: []string{"*.ts"},
		MimeTypes: []string{"text/x-typoscript"},
		DotAll:    true,
		Priority:  0.1,
	},
	typoscriptRules,
))

Typoscript 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