lexer

package
v1.102.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func RegisterAll ¶

func RegisterAll() error

RegisterAll registers all custom lexers.

Types ¶

type ADL ¶

type ADL struct{}

ADL lexer.

func (ADL) Lexer ¶

func (l ADL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ADL) Name ¶

func (ADL) Name() string

Name returns the name of the lexer.

type AMPL ¶

type AMPL struct{}

AMPL lexer.

func (AMPL) Lexer ¶

func (l AMPL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (AMPL) Name ¶

func (AMPL) Name() string

Name returns the name of the lexer.

type ActionScript3 ¶

type ActionScript3 struct{}

ActionScript3 lexer.

func (ActionScript3) Lexer ¶

func (l ActionScript3) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ActionScript3) Name ¶

func (ActionScript3) Name() string

Name returns the name of the lexer.

type Agda ¶

type Agda struct{}

Agda lexer.

func (Agda) Lexer ¶

func (l Agda) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Agda) Name ¶

func (Agda) Name() string

Name returns the name of the lexer.

type Aheui ¶

type Aheui struct{}

Aheui lexer.

func (Aheui) Lexer ¶

func (l Aheui) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Aheui) Name ¶

func (Aheui) Name() string

Name returns the name of the lexer.

type Alloy ¶

type Alloy struct{}

Alloy lexer.

func (Alloy) Lexer ¶

func (l Alloy) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Alloy) Name ¶

func (Alloy) Name() string

Name returns the name of the lexer.

type AmbientTalk ¶

type AmbientTalk struct{}

AmbientTalk lexer.

func (AmbientTalk) Lexer ¶

func (l AmbientTalk) Lexer() chroma.Lexer

Lexer returns the lexer.

func (AmbientTalk) Name ¶

func (AmbientTalk) Name() string

Name returns the name of the lexer.

type Arrow ¶

type Arrow struct{}

Arrow lexer.

func (Arrow) Lexer ¶

func (l Arrow) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Arrow) Name ¶

func (Arrow) Name() string

Name returns the name of the lexer.

type AspectJ ¶

type AspectJ struct{}

AspectJ lexer.

func (AspectJ) Lexer ¶

func (l AspectJ) Lexer() chroma.Lexer

Lexer returns the lexer.

func (AspectJ) Name ¶

func (AspectJ) Name() string

Name returns the name of the lexer.

type AspxCSharp ¶

type AspxCSharp struct{}

AspxCSharp lexer.

func (AspxCSharp) Lexer ¶

func (l AspxCSharp) Lexer() chroma.Lexer

Lexer returns the lexer.

func (AspxCSharp) Name ¶

func (AspxCSharp) Name() string

Name returns the name of the lexer.

type AspxVBNet ¶

type AspxVBNet struct{}

AspxVBNet lexer.

func (AspxVBNet) Lexer ¶

func (l AspxVBNet) Lexer() chroma.Lexer

Lexer returns the lexer.

func (AspxVBNet) Name ¶

func (AspxVBNet) Name() string

Name returns the name of the lexer.

type Astro ¶ added in v1.86.2

type Astro struct{}

Astro lexer.

func (Astro) Lexer ¶ added in v1.86.2

func (l Astro) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Astro) Name ¶ added in v1.86.2

func (Astro) Name() string

Name returns the name of the lexer.

type Asymptote ¶

type Asymptote struct{}

Asymptote lexer.

func (Asymptote) Lexer ¶

func (l Asymptote) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Asymptote) Name ¶

func (Asymptote) Name() string

Name returns the name of the lexer.

type Augeas ¶

type Augeas struct{}

Augeas lexer.

func (Augeas) Lexer ¶

func (l Augeas) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Augeas) Name ¶

func (Augeas) Name() string

Name returns the name of the lexer.

type BARE ¶

type BARE struct{}

BARE lexer.

func (BARE) Lexer ¶

func (l BARE) Lexer() chroma.Lexer

Lexer returns the lexer.

func (BARE) Name ¶

func (BARE) Name() string

Name returns the name of the lexer.

type BBCBasic ¶

type BBCBasic struct{}

BBCBasic lexer.

func (BBCBasic) Lexer ¶

func (l BBCBasic) Lexer() chroma.Lexer

Lexer returns the lexer.

func (BBCBasic) Name ¶

func (BBCBasic) Name() string

Name returns the name of the lexer.

type BBCode ¶

type BBCode struct{}

BBCode lexer.

func (BBCode) Lexer ¶

func (l BBCode) Lexer() chroma.Lexer

Lexer returns the lexer.

func (BBCode) Name ¶

func (BBCode) Name() string

Name returns the name of the lexer.

type BC ¶

type BC struct{}

BC lexer.

func (BC) Lexer ¶

func (l BC) Lexer() chroma.Lexer

Lexer returns the lexer.

func (BC) Name ¶

func (BC) Name() string

Name returns the name of the lexer.

type BST ¶

type BST struct{}

BST lexer.

func (BST) Lexer ¶

func (l BST) Lexer() chroma.Lexer

Lexer returns the lexer.

func (BST) Name ¶

func (BST) Name() string

Name returns the name of the lexer.

type BUGS ¶

type BUGS struct{}

BUGS lexer.

func (BUGS) Lexer ¶

func (l BUGS) Lexer() chroma.Lexer

Lexer returns the lexer.

func (BUGS) Name ¶

func (BUGS) Name() string

Name returns the name of the lexer.

type Befunge ¶

type Befunge struct{}

Befunge lexer.

func (Befunge) Lexer ¶

func (l Befunge) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Befunge) Name ¶

func (Befunge) Name() string

Name returns the name of the lexer.

type Blazor ¶

type Blazor struct{}

Blazor lexer.

func (Blazor) Lexer ¶

func (l Blazor) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Blazor) Name ¶

func (Blazor) Name() string

Name returns the name of the lexer.

type BlitzMax ¶

type BlitzMax struct{}

BlitzMax lexer.

func (BlitzMax) Lexer ¶

func (l BlitzMax) Lexer() chroma.Lexer

Lexer returns the lexer.

func (BlitzMax) Name ¶

func (BlitzMax) Name() string

Name returns the name of the lexer.

type Boa ¶

type Boa struct{}

Boa lexer.

func (Boa) Lexer ¶

func (l Boa) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Boa) Name ¶

func (Boa) Name() string

Name returns the name of the lexer.

type Boo ¶

type Boo struct{}

Boo lexer.

func (Boo) Lexer ¶

func (l Boo) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Boo) Name ¶

func (Boo) Name() string

Name returns the name of the lexer.

type Boogie ¶

type Boogie struct{}

Boogie lexer.

func (Boogie) Lexer ¶

func (l Boogie) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Boogie) Name ¶

func (Boogie) Name() string

Name returns the name of the lexer.

type Brainfuck ¶

type Brainfuck struct{}

Brainfuck lexer.

func (Brainfuck) Lexer ¶

func (l Brainfuck) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Brainfuck) Name ¶

func (Brainfuck) Name() string

Name returns the name of the lexer.

type CADL ¶

type CADL struct{}

CADL lexer.

func (CADL) Lexer ¶

func (l CADL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (CADL) Name ¶

func (CADL) Name() string

Name returns the name of the lexer.

type CAmkES ¶

type CAmkES struct{}

CAmkES lexer.

func (CAmkES) Lexer ¶

func (l CAmkES) Lexer() chroma.Lexer

Lexer returns the lexer.

func (CAmkES) Name ¶

func (CAmkES) Name() string

Name returns the name of the lexer.

type CBMBasicV2 ¶

type CBMBasicV2 struct{}

CBMBasicV2 CBM BASIC V2 lexer.

func (CBMBasicV2) Lexer ¶

func (l CBMBasicV2) Lexer() chroma.Lexer

Lexer returns the lexer.

func (CBMBasicV2) Name ¶

func (CBMBasicV2) Name() string

Name returns the name of the lexer.

type COBOLFree ¶

type COBOLFree struct{}

COBOLFree lexer.

func (COBOLFree) Lexer ¶

func (l COBOLFree) Lexer() chroma.Lexer

Lexer returns the lexer.

func (COBOLFree) Name ¶

func (COBOLFree) Name() string

Name returns the name of the lexer.

type CObjdump ¶

type CObjdump struct{}

CObjdump lexer.

func (CObjdump) Lexer ¶

func (l CObjdump) Lexer() chroma.Lexer

Lexer returns the lexer.

func (CObjdump) Name ¶

func (CObjdump) Name() string

Name returns the name of the lexer.

type CPSA ¶

type CPSA struct{}

CPSA lexer.

func (CPSA) Lexer ¶

func (l CPSA) Lexer() chroma.Lexer

Lexer returns the lexer.

func (CPSA) Name ¶

func (CPSA) Name() string

Name returns the name of the lexer.

type CUDA ¶

type CUDA struct{}

CUDA lexer.

func (CUDA) Lexer ¶

func (l CUDA) Lexer() chroma.Lexer

Lexer returns the lexer.

func (CUDA) Name ¶

func (CUDA) Name() string

Name returns the name of the lexer.

type Ca65Assembler ¶

type Ca65Assembler struct{}

Ca65Assembler lexer.

func (Ca65Assembler) Lexer ¶

func (l Ca65Assembler) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Ca65Assembler) Name ¶

func (Ca65Assembler) Name() string

Name returns the name of the lexer.

type CapDL ¶

type CapDL struct{}

CapDL lexer.

func (CapDL) Lexer ¶

func (l CapDL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (CapDL) Name ¶

func (CapDL) Name() string

Name returns the name of the lexer.

type Charmci ¶

type Charmci struct{}

Charmci lexer.

func (Charmci) Lexer ¶

func (l Charmci) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Charmci) Name ¶

func (Charmci) Name() string

Name returns the name of the lexer.

type Cirru ¶

type Cirru struct{}

Cirru lexer.

func (Cirru) Lexer ¶

func (l Cirru) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Cirru) Name ¶

func (Cirru) Name() string

Name returns the name of the lexer.

type Clay ¶

type Clay struct{}

Clay lexer.

func (Clay) Lexer ¶

func (l Clay) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Clay) Name ¶

func (Clay) Name() string

Name returns the name of the lexer.

type Clean ¶

type Clean struct{}

Clean lexer.

func (Clean) Lexer ¶

func (l Clean) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Clean) Name ¶

func (Clean) Name() string

Name returns the name of the lexer.

type ClojureScript ¶

type ClojureScript struct{}

ClojureScript lexer.

func (ClojureScript) Lexer ¶

func (l ClojureScript) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ClojureScript) Name ¶

func (ClojureScript) Name() string

Name returns the name of the lexer.

type ColdfusionCFC ¶

type ColdfusionCFC struct{}

ColdfusionCFC lexer.

func (ColdfusionCFC) Lexer ¶

func (l ColdfusionCFC) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ColdfusionCFC) Name ¶

func (ColdfusionCFC) Name() string

Name returns the name of the lexer.

type ColdfusionHTML ¶

type ColdfusionHTML struct{}

ColdfusionHTML lexer.

func (ColdfusionHTML) Lexer ¶

func (l ColdfusionHTML) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ColdfusionHTML) Name ¶

func (ColdfusionHTML) Name() string

Name returns the name of the lexer.

type ComponentPascal ¶

type ComponentPascal struct{}

ComponentPascal lexer.

func (ComponentPascal) Lexer ¶

func (l ComponentPascal) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ComponentPascal) Name ¶

func (ComponentPascal) Name() string

Name returns the name of the lexer.

type Coq ¶

type Coq struct{}

Coq lexer.

func (Coq) Lexer ¶

func (l Coq) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Coq) Name ¶

func (Coq) Name() string

Name returns the name of the lexer.

type CppObjdump ¶

type CppObjdump struct{}

CppObjdump lexer.

func (CppObjdump) Lexer ¶

func (l CppObjdump) Lexer() chroma.Lexer

Lexer returns the lexer.

func (CppObjdump) Name ¶

func (CppObjdump) Name() string

Name returns the name of the lexer.

type Crmsh ¶

type Crmsh struct{}

Crmsh lexer.

func (Crmsh) Lexer ¶

func (l Crmsh) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Crmsh) Name ¶

func (Crmsh) Name() string

Name returns the name of the lexer.

type Croc ¶

type Croc struct{}

Croc lexer.

func (Croc) Lexer ¶

func (l Croc) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Croc) Name ¶

func (Croc) Name() string

Name returns the name of the lexer.

type Crontab ¶

type Crontab struct{}

Crontab lexer.

func (Crontab) Lexer ¶

func (l Crontab) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Crontab) Name ¶

func (Crontab) Name() string

Name returns the name of the lexer.

type Cryptol ¶

type Cryptol struct{}

Cryptol lexer.

func (Cryptol) Lexer ¶

func (l Cryptol) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Cryptol) Name ¶

func (Cryptol) Name() string

Name returns the name of the lexer.

type CsoundDocument ¶

type CsoundDocument struct{}

CsoundDocument lexer.

func (CsoundDocument) Lexer ¶

func (l CsoundDocument) Lexer() chroma.Lexer

Lexer returns the lexer.

func (CsoundDocument) Name ¶

func (CsoundDocument) Name() string

Name returns the name of the lexer.

type CsoundOrchestra ¶

type CsoundOrchestra struct{}

CsoundOrchestra lexer.

func (CsoundOrchestra) Lexer ¶

func (l CsoundOrchestra) Lexer() chroma.Lexer

Lexer returns the lexer.

func (CsoundOrchestra) Name ¶

func (CsoundOrchestra) Name() string

Name returns the name of the lexer.

type CsoundScore ¶

type CsoundScore struct{}

CsoundScore lexer.

func (CsoundScore) Lexer ¶

func (l CsoundScore) Lexer() chroma.Lexer

Lexer returns the lexer.

func (CsoundScore) Name ¶

func (CsoundScore) Name() string

Name returns the name of the lexer.

type Cypher ¶

type Cypher struct{}

Cypher lexer.

func (Cypher) Lexer ¶

func (l Cypher) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Cypher) Name ¶

func (Cypher) Name() string

Name returns the name of the lexer.

type DASM16 ¶

type DASM16 struct{}

DASM16 lexer.

func (DASM16) Lexer ¶

func (l DASM16) Lexer() chroma.Lexer

Lexer returns the lexer.

func (DASM16) Name ¶

func (DASM16) Name() string

Name returns the name of the lexer.

type DG ¶

type DG struct{}

DG lexer.

func (DG) Lexer ¶

func (l DG) Lexer() chroma.Lexer

Lexer returns the lexer.

func (DG) Name ¶

func (DG) Name() string

Name returns the name of the lexer.

type DObjdump ¶

type DObjdump struct{}

DObjdump lexer.

func (DObjdump) Lexer ¶

func (l DObjdump) Lexer() chroma.Lexer

Lexer returns the lexer.

func (DObjdump) Name ¶

func (DObjdump) Name() string

Name returns the name of the lexer.

type DarcsPatch ¶

type DarcsPatch struct{}

DarcsPatch lexer.

func (DarcsPatch) Lexer ¶

func (l DarcsPatch) Lexer() chroma.Lexer

Lexer returns the lexer.

func (DarcsPatch) Name ¶

func (DarcsPatch) Name() string

Name returns the name of the lexer.

type DebianControlFile ¶

type DebianControlFile struct{}

DebianControlFile lexer.

func (DebianControlFile) Lexer ¶

func (l DebianControlFile) Lexer() chroma.Lexer

Lexer returns the lexer.

func (DebianControlFile) Name ¶

func (DebianControlFile) Name() string

Name returns the name of the lexer.

type Delphi ¶

type Delphi struct{}

Delphi lexer.

func (Delphi) Lexer ¶

func (l Delphi) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Delphi) Name ¶

func (Delphi) Name() string

Name returns the name of the lexer.

type Devicetree ¶

type Devicetree struct{}

Devicetree lexer.

func (Devicetree) Lexer ¶

func (l Devicetree) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Devicetree) Name ¶

func (Devicetree) Name() string

Name returns the name of the lexer.

type Duel ¶

type Duel struct{}

Duel lexer.

func (Duel) Lexer ¶

func (l Duel) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Duel) Name ¶

func (Duel) Name() string

Name returns the name of the lexer.

type DylanLID ¶

type DylanLID struct{}

DylanLID lexer.

func (DylanLID) Lexer ¶

func (l DylanLID) Lexer() chroma.Lexer

Lexer returns the lexer.

func (DylanLID) Name ¶

func (DylanLID) Name() string

Name returns the name of the lexer.

type DylanSession ¶

type DylanSession struct{}

DylanSession lexer.

func (DylanSession) Lexer ¶

func (l DylanSession) Lexer() chroma.Lexer

Lexer returns the lexer.

func (DylanSession) Name ¶

func (DylanSession) Name() string

Name returns the name of the lexer.

type EC ¶

type EC struct{}

EC lexer.

func (EC) Lexer ¶

func (l EC) Lexer() chroma.Lexer

Lexer returns the lexer.

func (EC) Name ¶

func (EC) Name() string

Name returns the name of the lexer.

type ECL ¶

type ECL struct{}

ECL lexer.

func (ECL) Lexer ¶

func (l ECL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ECL) Name ¶

func (ECL) Name() string

Name returns the name of the lexer.

type EMail ¶

type EMail struct{}

EMail lexer.

func (EMail) Lexer ¶

func (l EMail) Lexer() chroma.Lexer

Lexer returns the lexer.

func (EMail) Name ¶

func (EMail) Name() string

Name returns the name of the lexer.

type ERB ¶

type ERB struct{}

ERB lexer.

func (ERB) Lexer ¶

func (l ERB) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ERB) Name ¶

func (ERB) Name() string

Name returns the name of the lexer.

type EarlGrey ¶

type EarlGrey struct{}

EarlGrey lexer.

func (EarlGrey) Lexer ¶

func (l EarlGrey) Lexer() chroma.Lexer

Lexer returns the lexer.

func (EarlGrey) Name ¶

func (EarlGrey) Name() string

Name returns the name of the lexer.

type Easytrieve ¶

type Easytrieve struct{}

Easytrieve lexer.

func (Easytrieve) Lexer ¶

func (l Easytrieve) Lexer() chroma.Lexer

Lexer returns the lexer. nolint: gocyclo

func (Easytrieve) Name ¶

func (Easytrieve) Name() string

Name returns the name of the lexer.

type Eiffel ¶

type Eiffel struct{}

Eiffel lexer.

func (Eiffel) Lexer ¶

func (l Eiffel) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Eiffel) Name ¶

func (Eiffel) Name() string

Name returns the name of the lexer.

type ElixirIexSsession ¶

type ElixirIexSsession struct{}

ElixirIexSsession lexer.

func (ElixirIexSsession) Lexer ¶

func (l ElixirIexSsession) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ElixirIexSsession) Name ¶

func (ElixirIexSsession) Name() string

Name returns the name of the lexer.

type ErlangErlSession ¶

type ErlangErlSession struct{}

ErlangErlSession lexer.

func (ErlangErlSession) Lexer ¶

func (l ErlangErlSession) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ErlangErlSession) Name ¶

func (ErlangErlSession) Name() string

Name returns the name of the lexer.

type Evoque ¶

type Evoque struct{}

Evoque lexer.

func (Evoque) Lexer ¶

func (l Evoque) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Evoque) Name ¶

func (Evoque) Name() string

Name returns the name of the lexer.

type Execline ¶

type Execline struct{}

Execline lexer.

func (Execline) Lexer ¶

func (l Execline) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Execline) Name ¶

func (Execline) Name() string

Name returns the name of the lexer.

type Ezhil ¶

type Ezhil struct{}

Ezhil lexer.

func (Ezhil) Lexer ¶

func (l Ezhil) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Ezhil) Name ¶

func (Ezhil) Name() string

Name returns the name of the lexer.

type FSharp ¶

type FSharp struct{}

FSharp lexer.

func (FSharp) Lexer ¶

func (l FSharp) Lexer() chroma.Lexer

Lexer returns the lexer.

func (FSharp) Name ¶

func (FSharp) Name() string

Name returns the name of the lexer.

type FStar ¶

type FStar struct{}

FStar lexer.

func (FStar) Lexer ¶

func (l FStar) Lexer() chroma.Lexer

Lexer returns the lexer.

func (FStar) Name ¶

func (FStar) Name() string

Name returns the name of the lexer.

type Fancy ¶

type Fancy struct{}

Fancy lexer.

func (Fancy) Lexer ¶

func (l Fancy) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Fancy) Name ¶

func (Fancy) Name() string

Name returns the name of the lexer.

type Fantom ¶

type Fantom struct{}

Fantom lexer.

func (Fantom) Lexer ¶

func (l Fantom) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Fantom) Name ¶

func (Fantom) Name() string

Name returns the name of the lexer.

type Felix ¶

type Felix struct{}

Felix lexer.

func (Felix) Lexer ¶

func (l Felix) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Felix) Name ¶

func (Felix) Name() string

Name returns the name of the lexer.

type Flatline ¶

type Flatline struct{}

Flatline lexer.

func (Flatline) Lexer ¶

func (l Flatline) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Flatline) Name ¶

func (Flatline) Name() string

Name returns the name of the lexer.

type FloScript ¶

type FloScript struct{}

FloScript lexer.

func (FloScript) Lexer ¶

func (l FloScript) Lexer() chroma.Lexer

Lexer returns the lexer.

func (FloScript) Name ¶

func (FloScript) Name() string

Name returns the name of the lexer.

type Forth ¶

type Forth struct{}

Forth lexer.

func (Forth) Lexer ¶

func (l Forth) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Forth) Name ¶

func (Forth) Name() string

Name returns the name of the lexer.

type FoxPro ¶

type FoxPro struct{}

FoxPro lexer.

func (FoxPro) Lexer ¶

func (l FoxPro) Lexer() chroma.Lexer

Lexer returns the lexer.

func (FoxPro) Name ¶

func (FoxPro) Name() string

Name returns the name of the lexer.

type Freefem ¶

type Freefem struct{}

Freefem lexer.

func (Freefem) Lexer ¶

func (l Freefem) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Freefem) Name ¶

func (Freefem) Name() string

Name returns the name of the lexer.

type Gap ¶

type Gap struct{}

Gap lexer.

func (Gap) Lexer ¶

func (l Gap) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Gap) Name ¶

func (Gap) Name() string

Name returns the name of the lexer.

type Gas ¶

type Gas struct{}

Gas lexer.

func (Gas) Lexer ¶

func (l Gas) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Gas) Name ¶

func (Gas) Name() string

Name returns the name of the lexer.

type GettextCatalog ¶

type GettextCatalog struct{}

GettextCatalog lexer.

func (GettextCatalog) Lexer ¶

func (l GettextCatalog) Lexer() chroma.Lexer

Lexer returns the lexer.

func (GettextCatalog) Name ¶

func (GettextCatalog) Name() string

Name returns the name of the lexer.

type Golo ¶

type Golo struct{}

Golo lexer.

func (Golo) Lexer ¶

func (l Golo) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Golo) Name ¶

func (Golo) Name() string

Name returns the name of the lexer.

type GoodDataCL ¶

type GoodDataCL struct{}

GoodDataCL lexer.

func (GoodDataCL) Lexer ¶

func (l GoodDataCL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (GoodDataCL) Name ¶

func (GoodDataCL) Name() string

Name returns the name of the lexer.

type Gosu ¶

type Gosu struct{}

Gosu lexer.

func (Gosu) Lexer ¶

func (l Gosu) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Gosu) Name ¶

func (Gosu) Name() string

Name returns the name of the lexer.

type GosuTemplate ¶

type GosuTemplate struct{}

GosuTemplate lexer.

func (GosuTemplate) Lexer ¶

func (l GosuTemplate) Lexer() chroma.Lexer

Lexer returns the lexer.

func (GosuTemplate) Name ¶

func (GosuTemplate) Name() string

Name returns the name of the lexer.

type Groff ¶

type Groff struct{}

Groff lexer.

func (Groff) Lexer ¶

func (l Groff) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Groff) Name ¶

func (Groff) Name() string

Name returns the name of the lexer.

type HSAIL ¶

type HSAIL struct{}

HSAIL lexer.

func (HSAIL) Lexer ¶

func (l HSAIL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (HSAIL) Name ¶

func (HSAIL) Name() string

Name returns the name of the lexer.

type HTML ¶

type HTML struct{}

HTML lexer.

func (HTML) Lexer ¶

func (l HTML) Lexer() chroma.Lexer

Lexer returns the lexer.

func (HTML) Name ¶

func (HTML) Name() string

Name returns the name of the lexer.

type HTTP ¶

type HTTP struct{}

HTTP lexer.

func (HTTP) Lexer ¶

func (HTTP) Lexer() chroma.Lexer

Lexer returns the lexer.

func (HTTP) Name ¶

func (HTTP) Name() string

Name returns the name of the lexer.

type Haml ¶

type Haml struct{}

Haml lexer.

func (Haml) Lexer ¶

func (l Haml) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Haml) Name ¶

func (Haml) Name() string

Name returns the name of the lexer.

type Hspec ¶

type Hspec struct{}

Hspec lexer.

func (Hspec) Lexer ¶

func (l Hspec) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Hspec) Name ¶

func (Hspec) Name() string

Name returns the name of the lexer.

type Hxml ¶

type Hxml struct{}

Hxml lexer.

func (Hxml) Lexer ¶

func (l Hxml) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Hxml) Name ¶

func (Hxml) Name() string

Name returns the name of the lexer.

type Hy ¶

type Hy struct{}

Hy lexer.

func (Hy) Lexer ¶

func (l Hy) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Hy) Name ¶

func (Hy) Name() string

Name returns the name of the lexer.

type Hybris ¶

type Hybris struct{}

Hybris lexer.

func (Hybris) Lexer ¶

func (l Hybris) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Hybris) Name ¶

func (Hybris) Name() string

Name returns the name of the lexer.

type IDA ¶ added in v1.80.0

type IDA struct{}

IDA lexer.

func (IDA) Lexer ¶ added in v1.80.0

func (l IDA) Lexer() chroma.Lexer

Lexer returns the lexer.

func (IDA) Name ¶ added in v1.80.0

func (IDA) Name() string

Name returns the name of the lexer.

type IDL ¶

type IDL struct{}

IDL lexer.

func (IDL) Lexer ¶

func (l IDL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (IDL) Name ¶

func (IDL) Name() string

Name returns the name of the lexer.

type INI ¶

type INI struct{}

INI lexer.

func (INI) Lexer ¶

func (l INI) Lexer() chroma.Lexer

Lexer returns the lexer.

func (INI) Name ¶

func (INI) Name() string

Name returns the name of the lexer.

type IRCLogs ¶

type IRCLogs struct{}

IRCLogs lexer.

func (IRCLogs) Lexer ¶

func (l IRCLogs) Lexer() chroma.Lexer

Lexer returns the lexer.

func (IRCLogs) Name ¶

func (IRCLogs) Name() string

Name returns the name of the lexer.

type Icon ¶

type Icon struct{}

Icon lexer.

func (Icon) Lexer ¶

func (l Icon) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Icon) Name ¶

func (Icon) Name() string

Name returns the name of the lexer.

type Inform6 ¶

type Inform6 struct{}

Inform6 lexer.

func (Inform6) Lexer ¶

func (l Inform6) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Inform6) Name ¶

func (Inform6) Name() string

Name returns the name of the lexer.

type Inform6Template ¶

type Inform6Template struct{}

Inform6Template lexer.

func (Inform6Template) Lexer ¶

func (l Inform6Template) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Inform6Template) Name ¶

func (Inform6Template) Name() string

Name returns the name of the lexer.

type Inform7 ¶

type Inform7 struct{}

Inform7 lexer.

func (Inform7) Lexer ¶

func (l Inform7) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Inform7) Name ¶

func (Inform7) Name() string

Name returns the name of the lexer.

type Ioke ¶

type Ioke struct{}

Ioke lexer.

func (Ioke) Lexer ¶

func (l Ioke) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Ioke) Name ¶

func (Ioke) Name() string

Name returns the name of the lexer.

type Isabelle ¶

type Isabelle struct{}

Isabelle lexer.

func (Isabelle) Lexer ¶

func (l Isabelle) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Isabelle) Name ¶

func (Isabelle) Name() string

Name returns the name of the lexer.

type JAGS ¶

type JAGS struct{}

JAGS lexer.

func (JAGS) Lexer ¶

func (l JAGS) Lexer() chroma.Lexer

Lexer returns the lexer.

func (JAGS) Name ¶

func (JAGS) Name() string

Name returns the name of the lexer.

type JCL ¶

type JCL struct{}

JCL lexer.

func (JCL) Lexer ¶

func (l JCL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (JCL) Name ¶

func (JCL) Name() string

Name returns the name of the lexer.

type JSGF ¶

type JSGF struct{}

JSGF lexer.

func (JSGF) Lexer ¶

func (l JSGF) Lexer() chroma.Lexer

Lexer returns the lexer.

func (JSGF) Name ¶

func (JSGF) Name() string

Name returns the name of the lexer.

type JSONLD ¶

type JSONLD struct{}

JSONLD lexer.

func (JSONLD) Lexer ¶

func (l JSONLD) Lexer() chroma.Lexer

Lexer returns the lexer.

func (JSONLD) Name ¶

func (JSONLD) Name() string

Name returns the name of the lexer.

type JSP ¶

type JSP struct{}

JSP lexer.

func (JSP) Lexer ¶

func (l JSP) Lexer() chroma.Lexer

Lexer returns the lexer.

func (JSP) Name ¶

func (JSP) Name() string

Name returns the name of the lexer.

type Jasmin ¶

type Jasmin struct{}

Jasmin lexer.

func (Jasmin) Lexer ¶

func (l Jasmin) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Jasmin) Name ¶

func (Jasmin) Name() string

Name returns the name of the lexer.

type JuliaConsole ¶

type JuliaConsole struct{}

JuliaConsole lexer.

func (JuliaConsole) Lexer ¶

func (l JuliaConsole) Lexer() chroma.Lexer

Lexer returns the lexer.

func (JuliaConsole) Name ¶

func (JuliaConsole) Name() string

Name returns the name of the lexer.

type Juttle ¶

type Juttle struct{}

Juttle lexer.

func (Juttle) Lexer ¶

func (l Juttle) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Juttle) Name ¶

func (Juttle) Name() string

Name returns the name of the lexer.

type Kal ¶

type Kal struct{}

Kal lexer.

func (Kal) Lexer ¶

func (l Kal) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Kal) Name ¶

func (Kal) Name() string

Name returns the name of the lexer.

type Kconfig ¶

type Kconfig struct{}

Kconfig lexer.

func (Kconfig) Lexer ¶

func (l Kconfig) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Kconfig) Name ¶

func (Kconfig) Name() string

Name returns the name of the lexer.

type KernelLog ¶

type KernelLog struct{}

KernelLog lexer.

func (KernelLog) Lexer ¶

func (l KernelLog) Lexer() chroma.Lexer

Lexer returns the lexer.

func (KernelLog) Name ¶

func (KernelLog) Name() string

Name returns the name of the lexer.

type Koka ¶

type Koka struct{}

Koka lexer.

func (Koka) Lexer ¶

func (l Koka) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Koka) Name ¶

func (Koka) Name() string

Name returns the name of the lexer.

type LLVMMIR ¶

type LLVMMIR struct{}

LLVMMIR lexer.

func (LLVMMIR) Lexer ¶

func (l LLVMMIR) Lexer() chroma.Lexer

Lexer returns the lexer.

func (LLVMMIR) Name ¶

func (LLVMMIR) Name() string

Name returns the name of the lexer.

type LLVMMIRBODY ¶

type LLVMMIRBODY struct{}

LLVMMIRBODY lexer.

func (LLVMMIRBODY) Lexer ¶

func (l LLVMMIRBODY) Lexer() chroma.Lexer

Lexer returns the lexer.

func (LLVMMIRBODY) Name ¶

func (LLVMMIRBODY) Name() string

Name returns the name of the lexer.

type LSL ¶

type LSL struct{}

LSL lexer.

func (LSL) Lexer ¶

func (l LSL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (LSL) Name ¶

func (LSL) Name() string

Name returns the name of the lexer.

type Lasso ¶

type Lasso struct{}

Lasso lexer.

func (Lasso) Lexer ¶

func (l Lasso) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Lasso) Name ¶

func (Lasso) Name() string

Name returns the name of the lexer.

type Lean ¶

type Lean struct{}

Lean lexer.

func (Lean) Lexer ¶

func (l Lean) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Lean) Name ¶

func (Lean) Name() string

Name returns the name of the lexer.

type Less ¶

type Less struct{}

Less lexer.

func (Less) Lexer ¶

func (l Less) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Less) Name ¶

func (Less) Name() string

Name returns the name of the lexer.

type Lexer ¶

type Lexer interface {
	Lexer() chroma.Lexer
	Name() string
}

Lexer is an interface that can be implemented by lexers to register them.

type Limbo ¶

type Limbo struct{}

Limbo lexer.

func (Limbo) Lexer ¶

func (l Limbo) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Limbo) Name ¶

func (Limbo) Name() string

Name returns the name of the lexer.

type Liquid ¶

type Liquid struct{}

Liquid lexer.

func (Liquid) Lexer ¶

func (l Liquid) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Liquid) Name ¶

func (Liquid) Name() string

Name returns the name of the lexer.

type LiterateAgda ¶

type LiterateAgda struct{}

LiterateAgda lexer.

func (LiterateAgda) Lexer ¶

func (l LiterateAgda) Lexer() chroma.Lexer

Lexer returns the lexer.

func (LiterateAgda) Name ¶

func (LiterateAgda) Name() string

Name returns the name of the lexer.

type LiterateCryptol ¶

type LiterateCryptol struct{}

LiterateCryptol lexer.

func (LiterateCryptol) Lexer ¶

func (l LiterateCryptol) Lexer() chroma.Lexer

Lexer returns the lexer.

func (LiterateCryptol) Name ¶

func (LiterateCryptol) Name() string

Name returns the name of the lexer.

type LiterateHaskell ¶

type LiterateHaskell struct{}

LiterateHaskell lexer.

func (LiterateHaskell) Lexer ¶

func (l LiterateHaskell) Lexer() chroma.Lexer

Lexer returns the lexer.

func (LiterateHaskell) Name ¶

func (LiterateHaskell) Name() string

Name returns the name of the lexer.

type LiterateIdris ¶

type LiterateIdris struct{}

LiterateIdris lexer.

func (LiterateIdris) Lexer ¶

func (l LiterateIdris) Lexer() chroma.Lexer

Lexer returns the lexer.

func (LiterateIdris) Name ¶

func (LiterateIdris) Name() string

Name returns the name of the lexer.

type LiveScript ¶

type LiveScript struct{}

LiveScript lexer.

func (LiveScript) Lexer ¶

func (l LiveScript) Lexer() chroma.Lexer

Lexer returns the lexer.

func (LiveScript) Name ¶

func (LiveScript) Name() string

Name returns the name of the lexer.

type Logos ¶

type Logos struct{}

Logos lexer.

func (Logos) Lexer ¶

func (l Logos) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Logos) Name ¶

func (Logos) Name() string

Name returns the name of the lexer.

type Logtalk ¶

type Logtalk struct{}

Logtalk lexer.

func (Logtalk) Lexer ¶

func (l Logtalk) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Logtalk) Name ¶

func (Logtalk) Name() string

Name returns the name of the lexer.

type MAQL ¶

type MAQL struct{}

MAQL lexer.

func (MAQL) Lexer ¶

func (l MAQL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (MAQL) Name ¶

func (MAQL) Name() string

Name returns the name of the lexer.

type MIME ¶

type MIME struct{}

MIME lexer.

func (MIME) Lexer ¶

func (l MIME) Lexer() chroma.Lexer

Lexer returns the lexer.

func (MIME) Name ¶

func (MIME) Name() string

Name returns the name of the lexer.

type MOOCode ¶

type MOOCode struct{}

MOOCode lexer.

func (MOOCode) Lexer ¶

func (l MOOCode) Lexer() chroma.Lexer

Lexer returns the lexer.

func (MOOCode) Name ¶

func (MOOCode) Name() string

Name returns the name of the lexer.

type MQL ¶

type MQL struct{}

MQL lexer.

func (MQL) Lexer ¶

func (l MQL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (MQL) Name ¶

func (MQL) Name() string

Name returns the name of the lexer.

type MSDOSSession ¶

type MSDOSSession struct{}

MSDOSSession lexer.

func (MSDOSSession) Lexer ¶

func (l MSDOSSession) Lexer() chroma.Lexer

Lexer returns the lexer.

func (MSDOSSession) Name ¶

func (MSDOSSession) Name() string

Name returns the name of the lexer.

type MXML ¶

type MXML struct{}

MXML lexer.

func (MXML) Lexer ¶

func (l MXML) Lexer() chroma.Lexer

Lexer returns the lexer.

func (MXML) Name ¶

func (MXML) Name() string

Name returns the name of the lexer.

type Makefile ¶

type Makefile struct{}

Makefile lexer.

func (Makefile) Lexer ¶

func (l Makefile) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Makefile) Name ¶

func (Makefile) Name() string

Name returns the name of the lexer.

type Marko ¶

type Marko struct{}

Marko lexer.

func (Marko) Lexer ¶

func (l Marko) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Marko) Name ¶

func (Marko) Name() string

Name returns the name of the lexer.

type Mask ¶

type Mask struct{}

Mask lexer.

func (Mask) Lexer ¶

func (l Mask) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Mask) Name ¶

func (Mask) Name() string

Name returns the name of the lexer.

type Matlab ¶

type Matlab struct{}

Matlab lexer.

func (Matlab) Lexer ¶

func (l Matlab) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Matlab) Name ¶

func (Matlab) Name() string

Name returns the name of the lexer.

type MatlabSession ¶

type MatlabSession struct{}

MatlabSession lexer.

func (MatlabSession) Lexer ¶

func (l MatlabSession) Lexer() chroma.Lexer

Lexer returns the lexer.

func (MatlabSession) Name ¶

func (MatlabSession) Name() string

Name returns the name of the lexer.

type MiniD ¶

type MiniD struct{}

MiniD lexer.

func (MiniD) Lexer ¶

func (l MiniD) Lexer() chroma.Lexer

Lexer returns the lexer.

func (MiniD) Name ¶

func (MiniD) Name() string

Name returns the name of the lexer.

type MiniScript ¶

type MiniScript struct{}

MiniScript lexer.

func (MiniScript) Lexer ¶

func (l MiniScript) Lexer() chroma.Lexer

Lexer returns the lexer.

func (MiniScript) Name ¶

func (MiniScript) Name() string

Name returns the name of the lexer.

type Modelica ¶

type Modelica struct{}

Modelica lexer.

func (Modelica) Lexer ¶

func (l Modelica) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Modelica) Name ¶

func (Modelica) Name() string

Name returns the name of the lexer.

type Modula2 ¶

type Modula2 struct{}

Modula2 lexer.

func (Modula2) Lexer ¶

func (l Modula2) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Modula2) Name ¶

func (Modula2) Name() string

Name returns the name of the lexer.

type Mojo ¶ added in v1.80.0

type Mojo struct{}

Mojo lexer.

func (Mojo) Lexer ¶ added in v1.80.0

func (l Mojo) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Mojo) Name ¶ added in v1.80.0

func (Mojo) Name() string

Name returns the name of the lexer.

type Monkey ¶

type Monkey struct{}

Monkey lexer.

func (Monkey) Lexer ¶

func (l Monkey) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Monkey) Name ¶

func (Monkey) Name() string

Name returns the name of the lexer.

type Monte ¶

type Monte struct{}

Monte lexer.

func (Monte) Lexer ¶

func (l Monte) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Monte) Name ¶

func (Monte) Name() string

Name returns the name of the lexer.

type MoonScript ¶

type MoonScript struct{}

MoonScript lexer.

func (MoonScript) Lexer ¶

func (l MoonScript) Lexer() chroma.Lexer

Lexer returns the lexer.

func (MoonScript) Name ¶

func (MoonScript) Name() string

Name returns the name of the lexer.

type Mosel ¶

type Mosel struct{}

Mosel lexer.

func (Mosel) Lexer ¶

func (l Mosel) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Mosel) Name ¶

func (Mosel) Name() string

Name returns the name of the lexer.

type MozPreprocHash ¶

type MozPreprocHash struct{}

MozPreprocHash lexer.

func (MozPreprocHash) Lexer ¶

func (l MozPreprocHash) Lexer() chroma.Lexer

Lexer returns the lexer.

func (MozPreprocHash) Name ¶

func (MozPreprocHash) Name() string

Name returns the name of the lexer.

type MozPreprocPercent ¶

type MozPreprocPercent struct{}

MozPreprocPercent lexer.

func (MozPreprocPercent) Lexer ¶

func (l MozPreprocPercent) Lexer() chroma.Lexer

Lexer returns the lexer.

func (MozPreprocPercent) Name ¶

func (MozPreprocPercent) Name() string

Name returns the name of the lexer.

type Mscgen ¶

type Mscgen struct{}

Mscgen lexer.

func (Mscgen) Lexer ¶

func (l Mscgen) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Mscgen) Name ¶

func (Mscgen) Name() string

Name returns the name of the lexer.

type MuPAD ¶

type MuPAD struct{}

MuPAD lexer.

func (MuPAD) Lexer ¶

func (l MuPAD) Lexer() chroma.Lexer

Lexer returns the lexer.

func (MuPAD) Name ¶

func (MuPAD) Name() string

Name returns the name of the lexer.

type Mustache ¶

type Mustache struct{}

Mustache lexer.

func (Mustache) Lexer ¶

func (l Mustache) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Mustache) Name ¶

func (Mustache) Name() string

Name returns the name of the lexer.

type NASM ¶

type NASM struct{}

NASM lexer.

func (NASM) Lexer ¶

func (l NASM) Lexer() chroma.Lexer

Lexer returns the lexer.

func (NASM) Name ¶

func (NASM) Name() string

Name returns the name of the lexer.

type NASMObjdump ¶

type NASMObjdump struct{}

NASMObjdump lexer.

func (NASMObjdump) Lexer ¶

func (l NASMObjdump) Lexer() chroma.Lexer

Lexer returns the lexer.

func (NASMObjdump) Name ¶

func (NASMObjdump) Name() string

Name returns the name of the lexer.

type NCL ¶

type NCL struct{}

NCL lexer.

func (NCL) Lexer ¶

func (l NCL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (NCL) Name ¶

func (NCL) Name() string

Name returns the name of the lexer.

type NSIS ¶

type NSIS struct{}

NSIS lexer.

func (NSIS) Lexer ¶

func (l NSIS) Lexer() chroma.Lexer

Lexer returns the lexer.

func (NSIS) Name ¶

func (NSIS) Name() string

Name returns the name of the lexer.

type Nemerle ¶

type Nemerle struct{}

Nemerle lexer.

func (Nemerle) Lexer ¶

func (l Nemerle) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Nemerle) Name ¶

func (Nemerle) Name() string

Name returns the name of the lexer.

type NesC ¶

type NesC struct{}

NesC lexer.

func (NesC) Lexer ¶

func (l NesC) Lexer() chroma.Lexer

Lexer returns the lexer.

func (NesC) Name ¶

func (NesC) Name() string

Name returns the name of the lexer.

type NewLisp ¶

type NewLisp struct{}

NewLisp lexer.

func (NewLisp) Lexer ¶

func (l NewLisp) Lexer() chroma.Lexer

Lexer returns the lexer.

func (NewLisp) Name ¶

func (NewLisp) Name() string

Name returns the name of the lexer.

type Nit ¶

type Nit struct{}

Nit lexer.

func (Nit) Lexer ¶

func (l Nit) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Nit) Name ¶

func (Nit) Name() string

Name returns the name of the lexer.

type Notmuch ¶

type Notmuch struct{}

Notmuch lexer.

func (Notmuch) Lexer ¶

func (l Notmuch) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Notmuch) Name ¶

func (Notmuch) Name() string

Name returns the name of the lexer.

type NuSMV ¶

type NuSMV struct{}

NuSMV lexer.

func (NuSMV) Lexer ¶

func (l NuSMV) Lexer() chroma.Lexer

Lexer returns the lexer.

func (NuSMV) Name ¶

func (NuSMV) Name() string

Name returns the name of the lexer.

type NumPy ¶

type NumPy struct{}

NumPy lexer.

func (NumPy) Lexer ¶

func (l NumPy) Lexer() chroma.Lexer

Lexer returns the lexer.

func (NumPy) Name ¶

func (NumPy) Name() string

Name returns the name of the lexer.

type Nushell ¶

type Nushell struct{}

Nushell lexer.

func (Nushell) Lexer ¶

func (l Nushell) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Nushell) Name ¶

func (Nushell) Name() string

Name returns the name of the lexer.

type Objdump ¶

type Objdump struct{}

Objdump lexer.

func (Objdump) Lexer ¶

func (l Objdump) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Objdump) Name ¶

func (Objdump) Name() string

Name returns the name of the lexer.

type ObjectiveC ¶

type ObjectiveC struct{}

ObjectiveC lexer.

func (ObjectiveC) Lexer ¶

func (l ObjectiveC) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ObjectiveC) Name ¶

func (ObjectiveC) Name() string

Name returns the name of the lexer.

type ObjectiveCPP ¶

type ObjectiveCPP struct{}

ObjectiveCPP lexer.

func (ObjectiveCPP) Lexer ¶

func (l ObjectiveCPP) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ObjectiveCPP) Name ¶

func (ObjectiveCPP) Name() string

Name returns the name of the lexer.

type ObjectiveJ ¶

type ObjectiveJ struct{}

ObjectiveJ lexer.

func (ObjectiveJ) Lexer ¶

func (l ObjectiveJ) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ObjectiveJ) Name ¶

func (ObjectiveJ) Name() string

Name returns the name of the lexer.

type Ooc ¶

type Ooc struct{}

Ooc lexer.

func (Ooc) Lexer ¶

func (l Ooc) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Ooc) Name ¶

func (Ooc) Name() string

Name returns the name of the lexer.

type Opa ¶

type Opa struct{}

Opa lexer.

func (Opa) Lexer ¶

func (l Opa) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Opa) Name ¶

func (Opa) Name() string

Name returns the name of the lexer.

type OpenEdgeABL ¶

type OpenEdgeABL struct{}

OpenEdgeABL lexer.

func (OpenEdgeABL) Lexer ¶

func (l OpenEdgeABL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (OpenEdgeABL) Name ¶

func (OpenEdgeABL) Name() string

Name returns the name of the lexer.

type PEG ¶

type PEG struct{}

PEG lexer.

func (PEG) Lexer ¶

func (l PEG) Lexer() chroma.Lexer

Lexer returns the lexer.

func (PEG) Name ¶

func (PEG) Name() string

Name returns the name of the lexer.

type POVRay ¶

type POVRay struct{}

POVRay lexer.

func (POVRay) Lexer ¶

func (l POVRay) Lexer() chroma.Lexer

Lexer returns the lexer.

func (POVRay) Name ¶

func (POVRay) Name() string

Name returns the name of the lexer.

type Pan ¶

type Pan struct{}

Pan lexer.

func (Pan) Lexer ¶

func (l Pan) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Pan) Name ¶

func (Pan) Name() string

Name returns the name of the lexer.

type ParaSail ¶

type ParaSail struct{}

ParaSail lexer.

func (ParaSail) Lexer ¶

func (l ParaSail) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ParaSail) Name ¶

func (ParaSail) Name() string

Name returns the name of the lexer.

type Pawn ¶

type Pawn struct{}

Pawn lexer.

func (Pawn) Lexer ¶

func (l Pawn) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Pawn) Name ¶

func (Pawn) Name() string

Name returns the name of the lexer.

type Perl ¶

type Perl struct{}

Perl lexer.

func (Perl) Lexer ¶

func (l Perl) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Perl) Name ¶

func (Perl) Name() string

Name returns the name of the lexer.

type Perl6 ¶

type Perl6 struct{}

Perl6 lexer.

func (Perl6) Lexer ¶

func (l Perl6) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Perl6) Name ¶

func (Perl6) Name() string

Name returns the name of the lexer.

type Pike ¶

type Pike struct{}

Pike lexer.

func (Pike) Lexer ¶

func (l Pike) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Pike) Name ¶

func (Pike) Name() string

Name returns the name of the lexer.

type Pointless ¶

type Pointless struct{}

Pointless lexer.

func (Pointless) Lexer ¶

func (l Pointless) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Pointless) Name ¶

func (Pointless) Name() string

Name returns the name of the lexer.

type PostgresConsole ¶

type PostgresConsole struct{}

PostgresConsole lexer.

func (PostgresConsole) Lexer ¶

func (l PostgresConsole) Lexer() chroma.Lexer

Lexer returns the lexer.

func (PostgresConsole) Name ¶

func (PostgresConsole) Name() string

Name returns the name of the lexer.

type PowerShellSession ¶

type PowerShellSession struct{}

PowerShellSession lexer.

func (PowerShellSession) Lexer ¶

func (l PowerShellSession) Lexer() chroma.Lexer

Lexer returns the lexer.

func (PowerShellSession) Name ¶

func (PowerShellSession) Name() string

Name returns the name of the lexer.

type Praat ¶

type Praat struct{}

Praat lexer.

func (Praat) Lexer ¶

func (l Praat) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Praat) Name ¶

func (Praat) Name() string

Name returns the name of the lexer.

type Processing ¶

type Processing struct{}

Processing lexer.

func (Processing) Lexer ¶

func (l Processing) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Processing) Name ¶

func (Processing) Name() string

Name returns the name of the lexer.

type Prolog ¶

type Prolog struct{}

Prolog lexer.

func (Prolog) Lexer ¶

func (l Prolog) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Prolog) Name ¶

func (Prolog) Name() string

Name returns the name of the lexer.

type PsyShPHP ¶

type PsyShPHP struct{}

PsyShPHP lexer.

func (PsyShPHP) Lexer ¶

func (l PsyShPHP) Lexer() chroma.Lexer

Lexer returns the lexer.

func (PsyShPHP) Name ¶

func (PsyShPHP) Name() string

Name returns the name of the lexer.

type Pug ¶

type Pug struct{}

Pug lexer.

func (Pug) Lexer ¶

func (l Pug) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Pug) Name ¶

func (Pug) Name() string

Name returns the name of the lexer.

type PyPyLog ¶

type PyPyLog struct{}

PyPyLog lexer.

func (PyPyLog) Lexer ¶

func (l PyPyLog) Lexer() chroma.Lexer

Lexer returns the lexer.

func (PyPyLog) Name ¶

func (PyPyLog) Name() string

Name returns the name of the lexer.

type Python ¶

type Python struct{}

Python lexer.

func (Python) Lexer ¶

func (l Python) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Python) Name ¶

func (Python) Name() string

Name returns the name of the lexer.

type Python2 ¶

type Python2 struct{}

Python2 lexer.

func (Python2) Lexer ¶

func (l Python2) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Python2) Name ¶

func (Python2) Name() string

Name returns the name of the lexer.

type Python2Traceback ¶

type Python2Traceback struct{}

Python2Traceback lexer.

func (Python2Traceback) Lexer ¶

func (l Python2Traceback) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Python2Traceback) Name ¶

func (Python2Traceback) Name() string

Name returns the name of the lexer.

type PythonConsole ¶

type PythonConsole struct{}

PythonConsole lexer.

func (PythonConsole) Lexer ¶

func (l PythonConsole) Lexer() chroma.Lexer

Lexer returns the lexer.

func (PythonConsole) Name ¶

func (PythonConsole) Name() string

Name returns the name of the lexer.

type PythonTraceback ¶

type PythonTraceback struct{}

PythonTraceback lexer.

func (PythonTraceback) Lexer ¶

func (l PythonTraceback) Lexer() chroma.Lexer

Lexer returns the lexer.

func (PythonTraceback) Name ¶

func (PythonTraceback) Name() string

Name returns the name of the lexer.

type QBasic ¶

type QBasic struct{}

QBasic lexer.

func (QBasic) Lexer ¶

func (l QBasic) Lexer() chroma.Lexer

Lexer returns the lexer.

func (QBasic) Name ¶

func (QBasic) Name() string

Name returns the name of the lexer.

type QVTO ¶

type QVTO struct{}

QVTO lexer. For the QVT Operational Mapping language <http://www.omg.org/spec/QVT/1.1/>.

func (QVTO) Lexer ¶

func (l QVTO) Lexer() chroma.Lexer

Lexer returns the lexer.

func (QVTO) Name ¶

func (QVTO) Name() string

Name returns the name of the lexer.

type R ¶

type R struct{}

R and also S lexer.

func (R) Lexer ¶

func (l R) Lexer() chroma.Lexer

Lexer returns the lexer.

func (R) Name ¶

func (R) Name() string

Name returns the name of the lexer.

type RConsole ¶

type RConsole struct{}

RConsole lexer. For R console transcripts or R CMD BATCH output files.

func (RConsole) Lexer ¶

func (l RConsole) Lexer() chroma.Lexer

Lexer returns the lexer.

func (RConsole) Name ¶

func (RConsole) Name() string

Name returns the name of the lexer.

type REBOL ¶

type REBOL struct{}

REBOL lexer.

func (REBOL) Lexer ¶

func (l REBOL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (REBOL) Name ¶

func (REBOL) Name() string

Name returns the name of the lexer.

type RHTML ¶

type RHTML struct{}

RHTML lexer. Subclass of the ERB lexer that highlights the unlexed data with the html lexer.

func (RHTML) Lexer ¶

func (l RHTML) Lexer() chroma.Lexer

Lexer returns the lexer.

func (RHTML) Name ¶

func (RHTML) Name() string

Name returns the name of the lexer.

type RNGCompact ¶

type RNGCompact struct{}

RNGCompact lexer. For RelaxNG-compact <http://relaxng.org> syntax.

func (RNGCompact) Lexer ¶

func (l RNGCompact) Lexer() chroma.Lexer

Lexer returns the lexer.

func (RNGCompact) Name ¶

func (RNGCompact) Name() string

Name returns the name of the lexer.

type RPMSpec ¶

type RPMSpec struct{}

RPMSpec lexer.

func (RPMSpec) Lexer ¶

func (l RPMSpec) Lexer() chroma.Lexer

Lexer returns the lexer.

func (RPMSpec) Name ¶

func (RPMSpec) Name() string

Name returns the name of the lexer.

type RQL ¶

type RQL struct{}

RQL lexer for Relation Query Language <http://www.logilab.org/project/rql>

func (RQL) Lexer ¶

func (l RQL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (RQL) Name ¶

func (RQL) Name() string

Name returns the name of the lexer.

type RSL ¶

type RSL struct{}

RSL lexer. RSL <http://en.wikipedia.org/wiki/RAISE> is the formal specification language used in RAISE (Rigorous Approach to Industrial Software Engineering) method.

func (RSL) Lexer ¶

func (l RSL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (RSL) Name ¶

func (RSL) Name() string

Name returns the name of the lexer.

type RagelEmbedded ¶

type RagelEmbedded struct{}

RagelEmbedded lexer. A lexer for Ragel embedded in a host language file.

func (RagelEmbedded) Lexer ¶

func (l RagelEmbedded) Lexer() chroma.Lexer

Lexer returns the lexer.

func (RagelEmbedded) Name ¶

func (RagelEmbedded) Name() string

Name returns the name of the lexer.

type RawToken ¶

type RawToken struct{}

RawToken lexer.

func (RawToken) Lexer ¶

func (l RawToken) Lexer() chroma.Lexer

Lexer returns the lexer.

func (RawToken) Name ¶

func (RawToken) Name() string

Name returns the name of the lexer.

type Razor ¶

type Razor struct{}

Razor lexer. Lexer for Blazor's Razor files.

func (Razor) Lexer ¶

func (l Razor) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Razor) Name ¶

func (Razor) Name() string

Name returns the name of the lexer.

type Rd ¶

type Rd struct{}

Rd lexer. Lexer for R documentation (Rd) files.

func (Rd) Lexer ¶

func (l Rd) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Rd) Name ¶

func (Rd) Name() string

Name returns the name of the lexer.

type ReScript ¶

type ReScript struct{}

ReScript lexer.

func (ReScript) Lexer ¶

func (l ReScript) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ReScript) Name ¶

func (ReScript) Name() string

Name returns the name of the lexer.

type Red ¶

type Red struct{}

Red lexer. A Red-language <http://www.red-lang.org/> lexer.

func (Red) Lexer ¶

func (l Red) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Red) Name ¶

func (Red) Name() string

Name returns the name of the lexer.

type Redcode ¶

type Redcode struct{}

Redcode lexer.

func (Redcode) Lexer ¶

func (l Redcode) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Redcode) Name ¶

func (Redcode) Name() string

Name returns the name of the lexer.

type ResourceBundle ¶

type ResourceBundle struct{}

ResourceBundle lexer. Lexer for ICU ResourceBundle bundles <http://userguide.icu-project.org/locale/resources>

func (ResourceBundle) Lexer ¶

func (l ResourceBundle) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ResourceBundle) Name ¶

func (ResourceBundle) Name() string

Name returns the name of the lexer.

type Ride ¶

type Ride struct{}

Ride lexer. For Ride <https://docs.wavesplatform.com/en/ride/about-ride.html> source code.

func (Ride) Lexer ¶

func (l Ride) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Ride) Name ¶

func (Ride) Name() string

Name returns the name of the lexer.

type RoboconfGraph ¶

type RoboconfGraph struct{}

RoboconfGraph lexer for Roboconf <http://roboconf.net/en/roboconf.html> graph files.

func (RoboconfGraph) Lexer ¶

func (l RoboconfGraph) Lexer() chroma.Lexer

Lexer returns the lexer.

func (RoboconfGraph) Name ¶

func (RoboconfGraph) Name() string

Name returns the name of the lexer.

type RoboconfInstances ¶

type RoboconfInstances struct{}

RoboconfInstances lexer for Roboconf <http://roboconf.net/en/roboconf.html> instances files.

func (RoboconfInstances) Lexer ¶

func (l RoboconfInstances) Lexer() chroma.Lexer

Lexer returns the lexer.

func (RoboconfInstances) Name ¶

func (RoboconfInstances) Name() string

Name returns the name of the lexer.

type RobotFramework ¶

type RobotFramework struct{}

RobotFramework lexer for Robot Framework <http://robotframework.org> test data.

func (RobotFramework) Lexer ¶

func (l RobotFramework) Lexer() chroma.Lexer

Lexer returns the lexer.

func (RobotFramework) Name ¶

func (RobotFramework) Name() string

Name returns the name of the lexer.

type RubyIRBSession ¶

type RubyIRBSession struct{}

RubyIRBSession lexer. For Ruby interactive console (**irb**) output.

func (RubyIRBSession) Lexer ¶

func (l RubyIRBSession) Lexer() chroma.Lexer

Lexer returns the lexer.

func (RubyIRBSession) Name ¶

func (RubyIRBSession) Name() string

Name returns the name of the lexer.

type SARL ¶

type SARL struct{}

SARL lexer. For SARL <http://www.sarl.io> source code.

func (SARL) Lexer ¶

func (l SARL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (SARL) Name ¶

func (SARL) Name() string

Name returns the name of the lexer.

type SSP ¶

type SSP struct{}

SSP lexer. Lexer for Scalate Server Pages.

func (SSP) Lexer ¶

func (l SSP) Lexer() chroma.Lexer

Lexer returns the lexer.

func (SSP) Name ¶

func (SSP) Name() string

Name returns the name of the lexer.

type SWIG ¶

type SWIG struct{}

SWIG lexer.

func (SWIG) Lexer ¶

func (l SWIG) Lexer() chroma.Lexer

Lexer returns the lexer.

func (SWIG) Name ¶

func (SWIG) Name() string

Name returns the name of the lexer.

type Scaml ¶

type Scaml struct{}

Scaml lexer. For Scaml markup <http://scalate.fusesource.org/>. Scaml is Haml for Scala.

func (Scaml) Lexer ¶

func (l Scaml) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Scaml) Name ¶

func (Scaml) Name() string

Name returns the name of the lexer.

type Scdoc ¶

type Scdoc struct{}

Scdoc lexer.

func (Scdoc) Lexer ¶

func (l Scdoc) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Scdoc) Name ¶

func (Scdoc) Name() string

Name returns the name of the lexer.

type ShExC ¶

type ShExC struct{}

ShExC lexer. Lexer for ShExC <https://shex.io/shex-semantics/#shexc> shape expressions language syntax.

func (ShExC) Lexer ¶

func (l ShExC) Lexer() chroma.Lexer

Lexer returns the lexer.

func (ShExC) Name ¶

func (ShExC) Name() string

Name returns the name of the lexer.

type Shen ¶

type Shen struct{}

Shen lexer. Lexer for Shen <http://shenlanguage.org/> source code.

func (Shen) Lexer ¶

func (l Shen) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Shen) Name ¶

func (Shen) Name() string

Name returns the name of the lexer.

type Silver ¶

type Silver struct{}

Silver lexer. For Silver <https://bitbucket.org/viperproject/silver> source code.

func (Silver) Lexer ¶

func (l Silver) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Silver) Name ¶

func (Silver) Name() string

Name returns the name of the lexer.

type Singularity ¶

type Singularity struct{}

Singularity lexer.

func (Singularity) Lexer ¶

func (l Singularity) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Singularity) Name ¶

func (Singularity) Name() string

Name returns the name of the lexer.

type SketchDrawing ¶

type SketchDrawing struct{}

SketchDrawing lexer.

func (SketchDrawing) Lexer ¶

func (l SketchDrawing) Lexer() chroma.Lexer

Lexer returns the lexer.

func (SketchDrawing) Name ¶

func (SketchDrawing) Name() string

Name returns the name of the lexer.

type Slash ¶

type Slash struct{}

Slash lexer. Lexer for the Slash programming language.

func (Slash) Lexer ¶

func (l Slash) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Slash) Name ¶

func (Slash) Name() string

Name returns the name of the lexer.

type Slim ¶

type Slim struct{}

Slim lexer.

func (Slim) Lexer ¶

func (l Slim) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Slim) Name ¶

func (Slim) Name() string

Name returns the name of the lexer.

type Slint ¶

type Slint struct{}

Slint lexer. Lexer for the Slint programming language.

func (Slint) Lexer ¶

func (l Slint) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Slint) Name ¶

func (Slint) Name() string

Name returns the name of the lexer.

type Slurm ¶

type Slurm struct{}

Slurm lexer. Lexer for (ba|k|z|)sh Slurm scripts.

func (Slurm) Lexer ¶

func (l Slurm) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Slurm) Name ¶

func (Slurm) Name() string

Name returns the name of the lexer.

type Smali ¶

type Smali struct{}

Smali lexer.

func (Smali) Lexer ¶

func (l Smali) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Smali) Name ¶

func (Smali) Name() string

Name returns the name of the lexer.

type SmartGameFormat ¶

type SmartGameFormat struct{}

SmartGameFormat lexer. Lexer for Smart Game Format (sgf) file format.

The format is used to store game records of board games for two players (mainly Go game). For more information about the definition of the format, see: https://www.red-bean.com/sgf/

func (SmartGameFormat) Lexer ¶

func (l SmartGameFormat) Lexer() chroma.Lexer

Lexer returns the lexer.

func (SmartGameFormat) Name ¶

func (SmartGameFormat) Name() string

Name returns the name of the lexer.

type Snowball ¶

type Snowball struct{}

Snowball lexer. Lexer for Snowball <http://snowballstem.org/> source code.

func (Snowball) Lexer ¶

func (l Snowball) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Snowball) Name ¶

func (Snowball) Name() string

Name returns the name of the lexer.

type SourcesList ¶

type SourcesList struct{}

SourcesList lexer. Lexer that highlights debian sources.list files.

func (SourcesList) Lexer ¶

func (l SourcesList) Lexer() chroma.Lexer

Lexer returns the lexer.

func (SourcesList) Name ¶

func (SourcesList) Name() string

Name returns the name of the lexer.

type Sqlite3con ¶

type Sqlite3con struct{}

Sqlite3con lexer. Lexer for example sessions using sqlite3.

func (Sqlite3con) Lexer ¶

func (l Sqlite3con) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Sqlite3con) Name ¶

func (Sqlite3con) Name() string

Name returns the name of the lexer.

type Stan ¶

type Stan struct{}

Stan lexer. Lexer for Stan models.

The Stan modeling language is specified in the *Stan Modeling Language User's Guide and Reference Manual, v2.17.0*, pdf <https://github.com/stan-dev/stan/releases/download/v2.17.0/stan-reference-2.17.0.pdf>`.

func (Stan) Lexer ¶

func (l Stan) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Stan) Name ¶

func (Stan) Name() string

Name returns the name of the lexer.

type Stata ¶

type Stata struct{}

Stata lexer. For Stata <http://www.stata.com/> do files.

Syntax based on - http://fmwww.bc.edu/RePEc/bocode/s/synlightlist.ado - https://github.com/isagalaev/highlight.js/blob/master/src/languages/stata.js - https://github.com/jpitblado/vim-stata/blob/master/syntax/stata.vim

func (Stata) Lexer ¶

func (l Stata) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Stata) Name ¶

func (Stata) Name() string

Name returns the name of the lexer.

type SublimeTextConfig ¶

type SublimeTextConfig struct{}

SublimeTextConfig lexer.

func (SublimeTextConfig) Lexer ¶

func (l SublimeTextConfig) Lexer() chroma.Lexer

Lexer returns the lexer.

func (SublimeTextConfig) Name ¶

func (SublimeTextConfig) Name() string

Name returns the name of the lexer.

type SuperCollider ¶

type SuperCollider struct{}

SuperCollider lexer.

func (SuperCollider) Lexer ¶

func (l SuperCollider) Lexer() chroma.Lexer

Lexer returns the lexer.

func (SuperCollider) Name ¶

func (SuperCollider) Name() string

Name returns the name of the lexer.

type TADS3 ¶

type TADS3 struct{}

TADS3 lexer.

func (TADS3) Lexer ¶

func (l TADS3) Lexer() chroma.Lexer

Lexer returns the lexer.

func (TADS3) Name ¶

func (TADS3) Name() string

Name returns the name of the lexer.

type TAP ¶

type TAP struct{}

TAP lexer. For Test Anything Protocol (TAP) output.

func (TAP) Lexer ¶

func (l TAP) Lexer() chroma.Lexer

Lexer returns the lexer.

func (TAP) Name ¶

func (TAP) Name() string

Name returns the name of the lexer.

type TASM ¶

type TASM struct{}

TASM lexer.

func (TASM) Lexer ¶

func (l TASM) Lexer() chroma.Lexer

Lexer returns the lexer.

func (TASM) Name ¶

func (TASM) Name() string

Name returns the name of the lexer.

type TNT ¶

type TNT struct{}

TNT lexer. Lexer for Typographic Number Theory, as described in the book Gödel, Escher, Bach, by Douglas R. Hofstadter, or as summarized here: https://github.com/Kenny2github/language-tnt/blob/master/README.md#summary-of-tnt

func (TNT) Lexer ¶

func (l TNT) Lexer() chroma.Lexer

Lexer returns the lexer.

func (TNT) Name ¶

func (TNT) Name() string

Name returns the name of the lexer.

type TcshSession ¶

type TcshSession struct{}

TcshSession lexer. Lexer for Tcsh sessions, i.e. command lines, including a prompt, interspersed with output.

func (TcshSession) Lexer ¶

func (l TcshSession) Lexer() chroma.Lexer

Lexer returns the lexer.

func (TcshSession) Name ¶

func (TcshSession) Name() string

Name returns the name of the lexer.

type Tea ¶

type Tea struct{}

Tea lexer. Lexer for Tea Templates <http://teatrove.org/>.

func (Tea) Lexer ¶

func (l Tea) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Tea) Name ¶

func (Tea) Name() string

Name returns the name of the lexer.

type TeraTerm ¶

type TeraTerm struct{}

TeraTerm macro lexer.

func (TeraTerm) Lexer ¶

func (l TeraTerm) Lexer() chroma.Lexer

Lexer returns the lexer.

func (TeraTerm) Name ¶

func (TeraTerm) Name() string

Name returns the name of the lexer.

type Tiddler ¶

type Tiddler struct{}

Tiddler lexer. For TiddlyWiki5 <https://tiddlywiki.com/#TiddlerFiles> markup.

func (Tiddler) Lexer ¶

func (l Tiddler) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Tiddler) Name ¶

func (Tiddler) Name() string

Name returns the name of the lexer.

type Todotxt ¶

type Todotxt struct{}

Todotxt lexer. Lexer for Todo.txt <http://todotxt.com/> todo list format.

func (Todotxt) Lexer ¶

func (l Todotxt) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Todotxt) Name ¶

func (Todotxt) Name() string

Name returns the name of the lexer.

type TrafficScript ¶

type TrafficScript struct{}

TrafficScript lexer. For `Riverbed Stingray Traffic Manager <http://www.riverbed.com/stingray>`

func (TrafficScript) Lexer ¶

func (l TrafficScript) Lexer() chroma.Lexer

Lexer returns the lexer.

func (TrafficScript) Name ¶

func (TrafficScript) Name() string

Name returns the name of the lexer.

type TransactSQL ¶

type TransactSQL struct{}

TransactSQL lexer.

func (TransactSQL) Lexer ¶

func (l TransactSQL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (TransactSQL) Name ¶

func (TransactSQL) Name() string

Name returns the name of the lexer.

type Treetop ¶

type Treetop struct{}

Treetop lexer. A lexer for Treetop <http://treetop.rubyforge.org/> grammars.

func (Treetop) Lexer ¶

func (l Treetop) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Treetop) Name ¶

func (Treetop) Name() string

Name returns the name of the lexer.

type Turtle ¶

type Turtle struct{}

Turtle lexer.

func (Turtle) Lexer ¶

func (l Turtle) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Turtle) Name ¶

func (Turtle) Name() string

Name returns the name of the lexer.

type USD ¶

type USD struct{}

USD lexer.

func (USD) Lexer ¶

func (l USD) Lexer() chroma.Lexer

Lexer returns the lexer.

func (USD) Name ¶

func (USD) Name() string

Name returns the name of the lexer.

type Ucode ¶

type Ucode struct{}

Ucode lexer.

func (Ucode) Lexer ¶

func (l Ucode) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Ucode) Name ¶

func (Ucode) Name() string

Name returns the name of the lexer.

type Unicon ¶

type Unicon struct{}

Unicon lexer.

func (Unicon) Lexer ¶

func (l Unicon) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Unicon) Name ¶

func (Unicon) Name() string

Name returns the name of the lexer.

type UrbiScript ¶

type UrbiScript struct{}

UrbiScript lexer.

func (UrbiScript) Lexer ¶

func (l UrbiScript) Lexer() chroma.Lexer

Lexer returns the lexer.

func (UrbiScript) Name ¶

func (UrbiScript) Name() string

Name returns the name of the lexer.

type VBNet ¶

type VBNet struct{}

VBNet lexer.

func (VBNet) Lexer ¶

func (l VBNet) Lexer() chroma.Lexer

Lexer returns the lexer.

func (VBNet) Name ¶

func (VBNet) Name() string

Name returns the name of the lexer.

type VBScript ¶

type VBScript struct{}

VBScript lexer.

func (VBScript) Lexer ¶

func (l VBScript) Lexer() chroma.Lexer

Lexer returns the lexer.

func (VBScript) Name ¶

func (VBScript) Name() string

Name returns the name of the lexer.

type VCL ¶

type VCL struct{}

VCL lexer.

func (VCL) Lexer ¶

func (l VCL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (VCL) Name ¶

func (VCL) Name() string

Name returns the name of the lexer.

type VCLSnippets ¶

type VCLSnippets struct{}

VCLSnippets lexer.

func (VCLSnippets) Lexer ¶

func (l VCLSnippets) Lexer() chroma.Lexer

Lexer returns the lexer.

func (VCLSnippets) Name ¶

func (VCLSnippets) Name() string

Name returns the name of the lexer.

type VCTreeStatus ¶

type VCTreeStatus struct{}

VCTreeStatus lexer.

func (VCTreeStatus) Lexer ¶

func (l VCTreeStatus) Lexer() chroma.Lexer

Lexer returns the lexer.

func (VCTreeStatus) Name ¶

func (VCTreeStatus) Name() string

Name returns the name of the lexer.

type VGL ¶

type VGL struct{}

VGL lexer.

func (VGL) Lexer ¶

func (l VGL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (VGL) Name ¶

func (VGL) Name() string

Name returns the name of the lexer.

type Velocity ¶

type Velocity struct{}

Velocity lexer.

func (Velocity) Lexer ¶

func (l Velocity) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Velocity) Name ¶

func (Velocity) Name() string

Name returns the name of the lexer.

type Verilog ¶

type Verilog struct{}

Verilog lexer.

func (Verilog) Lexer ¶

func (l Verilog) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Verilog) Name ¶

func (Verilog) Name() string

Name returns the name of the lexer.

type WDiff ¶

type WDiff struct{}

WDiff lexer.

func (WDiff) Lexer ¶

func (l WDiff) Lexer() chroma.Lexer

Lexer returns the lexer.

func (WDiff) Name ¶

func (WDiff) Name() string

Name returns the name of the lexer.

type WebIDL ¶

type WebIDL struct{}

WebIDL lexer.

func (WebIDL) Lexer ¶

func (l WebIDL) Lexer() chroma.Lexer

Lexer returns the lexer.

func (WebIDL) Name ¶

func (WebIDL) Name() string

Name returns the name of the lexer.

type X10 ¶

type X10 struct{}

X10 lexer.

func (X10) Lexer ¶

func (l X10) Lexer() chroma.Lexer

Lexer returns the lexer.

func (X10) Name ¶

func (X10) Name() string

Name returns the name of the lexer.

type XAML ¶

type XAML struct{}

XAML lexer.

func (XAML) Lexer ¶

func (l XAML) Lexer() chroma.Lexer

Lexer returns the lexer.

func (XAML) Name ¶

func (XAML) Name() string

Name returns the name of the lexer.

type XML ¶

type XML struct{}

XML lexer.

func (XML) Lexer ¶

func (l XML) Lexer() chroma.Lexer

Lexer returns the lexer.

func (XML) Name ¶

func (XML) Name() string

Name returns the name of the lexer.

type XQuery ¶

type XQuery struct{}

XQuery lexer.

func (XQuery) Lexer ¶

func (l XQuery) Lexer() chroma.Lexer

Lexer returns the lexer.

func (XQuery) Name ¶

func (XQuery) Name() string

Name returns the name of the lexer.

type XSLT ¶

type XSLT struct{}

XSLT lexer.

func (XSLT) Lexer ¶

func (XSLT) Lexer() chroma.Lexer

Lexer returns the lexer.

func (XSLT) Name ¶

func (XSLT) Name() string

Name returns the name of the lexer.

type Xtend ¶

type Xtend struct{}

Xtend lexer.

func (Xtend) Lexer ¶

func (l Xtend) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Xtend) Name ¶

func (Xtend) Name() string

Name returns the name of the lexer.

type Xtlang ¶

type Xtlang struct{}

Xtlang lexer.

func (Xtlang) Lexer ¶

func (l Xtlang) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Xtlang) Name ¶

func (Xtlang) Name() string

Name returns the name of the lexer.

type Zeek ¶

type Zeek struct{}

Zeek lexer.

func (Zeek) Lexer ¶

func (l Zeek) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Zeek) Name ¶

func (Zeek) Name() string

Name returns the name of the lexer.

type Zephir ¶

type Zephir struct{}

Zephir lexer.

func (Zephir) Lexer ¶

func (l Zephir) Lexer() chroma.Lexer

Lexer returns the lexer.

func (Zephir) Name ¶

func (Zephir) Name() string

Name returns the name of the lexer.

Source Files ¶

Jump to

Keyboard shortcuts

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