Documentation ¶
Index ¶
- func RegisterAll() error
- type ADL
- type AMPL
- type ActionScript3
- type Agda
- type Aheui
- type Alloy
- type AmbientTalk
- type Arrow
- type AspectJ
- type AspxCSharp
- type AspxVBNet
- type Asymptote
- type Augeas
- type BARE
- type BBCBasic
- type BBCode
- type BC
- type BST
- type BUGS
- type Befunge
- type Blazor
- type BlitzMax
- type Boa
- type Boo
- type Boogie
- type Brainfuck
- type CADL
- type CAmkES
- type CBMBasicV2
- type COBOLFree
- type CObjdump
- type CPSA
- type CUDA
- type Ca65Assembler
- type CapDL
- type Charmci
- type Cirru
- type Clay
- type Clean
- type ClojureScript
- type ColdfusionCFC
- type ColdfusionHTML
- type ComponentPascal
- type Coq
- type CppObjdump
- type Crmsh
- type Croc
- type Crontab
- type Cryptol
- type CsoundDocument
- type CsoundOrchestra
- type CsoundScore
- type Cypher
- type DASM16
- type DG
- type DObjdump
- type DarcsPatch
- type DebianControlFile
- type Delphi
- type Devicetree
- type Duel
- type DylanLID
- type DylanSession
- type EC
- type ECL
- type EMail
- type ERB
- type EarlGrey
- type Easytrieve
- type Eiffel
- type ElixirIexSsession
- type ErlangErlSession
- type Evoque
- type Execline
- type Ezhil
- type FSharp
- type FStar
- type Fancy
- type Fantom
- type Felix
- type Flatline
- type FloScript
- type Forth
- type FoxPro
- type Freefem
- type GDScript
- type Gap
- type Gas
- type GettextCatalog
- type Golo
- type GoodDataCL
- type Gosu
- type GosuTemplate
- type Groff
- type HSAIL
- type HTML
- type HTTP
- type Haml
- type Hspec
- type Hxml
- type Hy
- type Hybris
- type IDL
- type INI
- type IRCLogs
- type Icon
- type Inform6
- type Inform6Template
- type Inform7
- type Ioke
- type Isabelle
- type JAGS
- type JCL
- type JSGF
- type JSONLD
- type JSP
- type Jasmin
- type JuliaConsole
- type Juttle
- type Kal
- type Kconfig
- type KernelLog
- type Koka
- type LLVMMIR
- type LLVMMIRBODY
- type LSL
- type Lasso
- type Lean
- type Less
- type Lexer
- type Limbo
- type Liquid
- type LiterateAgda
- type LiterateCryptol
- type LiterateHaskell
- type LiterateIdris
- type LiveScript
- type Logos
- type Logtalk
- type MAQL
- type MIME
- type MOOCode
- type MQL
- type MSDOSSession
- type MXML
- type Makefile
- type Marko
- type Mask
- type Matlab
- type MatlabSession
- type MiniD
- type MiniScript
- type Modelica
- type Modula2
- type Monkey
- type Monte
- type MoonScript
- type Mosel
- type MozPreprocHash
- type MozPreprocPercent
- type Mscgen
- type MuPAD
- type Mustache
- type NASM
- type NASMObjdump
- type NCL
- type NSIS
- type Nemerle
- type NesC
- type NewLisp
- type Nit
- type Notmuch
- type NuSMV
- type NumPy
- type Objdump
- type ObjectiveC
- type ObjectiveCPP
- type ObjectiveJ
- type Ooc
- type Opa
- type OpenEdgeABL
- type PEG
- type POVRay
- type Pan
- type ParaSail
- type Pawn
- type Perl
- type Perl6
- type Pike
- type Pointless
- type PostgresConsole
- type PowerShellSession
- type Praat
- type Processing
- type Prolog
- type PsyShPHP
- type Pug
- type PyPyLog
- type Python
- type Python2
- type Python2Traceback
- type PythonConsole
- type PythonTraceback
- type QBasic
- type QVTO
- type R
- type RConsole
- type REBOL
- type RHTML
- type RNGCompact
- type RPMSpec
- type RQL
- type RSL
- type RagelEmbedded
- type RawToken
- type Razor
- type Rd
- type ReScript
- type Red
- type Redcode
- type ResourceBundle
- type Ride
- type RoboconfGraph
- type RoboconfInstances
- type RobotFramework
- type RubyIRBSession
- type SARL
- type SSP
- type SWIG
- type Scaml
- type Scdoc
- type ShExC
- type Shen
- type Silver
- type Singularity
- type SketchDrawing
- type Slash
- type Slim
- type Slint
- type Slurm
- type Smali
- type SmartGameFormat
- type Snowball
- type SourcesList
- type Sqlite3con
- type Stan
- type Stata
- type SublimeTextConfig
- type SuperCollider
- type TADS3
- type TAP
- type TASM
- type TNT
- type TcshSession
- type Tea
- type TeraTerm
- type Tiddler
- type Todotxt
- type TrafficScript
- type TransactSQL
- type Treetop
- type Turtle
- type USD
- type Ucode
- type Unicon
- type UrbiScript
- type VBNet
- type VBScript
- type VCL
- type VCLSnippets
- type VCTreeStatus
- type VGL
- type Velocity
- type Verilog
- type WDiff
- type WebIDL
- type X10
- type XAML
- type XML
- type XQuery
- type XSLT
- type Xtend
- type Xtlang
- type Zeek
- type Zephir
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ColdfusionHTML ¶
type ColdfusionHTML struct{}
ColdfusionHTML 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 CsoundDocument ¶
type CsoundDocument struct{}
CsoundDocument 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 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 Easytrieve ¶
type Easytrieve struct{}
Easytrieve lexer.
func (Easytrieve) Lexer ¶
func (l Easytrieve) Lexer() chroma.Lexer
Lexer returns the lexer. nolint: gocyclo
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 GettextCatalog ¶
type GettextCatalog struct{}
GettextCatalog lexer.
func (GettextCatalog) Name ¶
func (GettextCatalog) 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 Lexer ¶
type Lexer interface { Lexer() chroma.Lexer Name() string }
Lexer is an interface that can be implemented by lexers to register them.
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 MozPreprocHash ¶
type MozPreprocHash struct{}
MozPreprocHash 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 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 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 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 QVTO ¶
type QVTO struct{}
QVTO lexer. For the QVT Operational Mapping language <http://www.omg.org/spec/QVT/1.1/>.
type RConsole ¶
type RConsole struct{}
RConsole lexer. For R console transcripts or R CMD BATCH output files.
type RHTML ¶
type RHTML struct{}
RHTML lexer. Subclass of the ERB lexer that highlights the unlexed data with the html lexer.
type RNGCompact ¶
type RNGCompact struct{}
RNGCompact lexer. For RelaxNG-compact <http://relaxng.org> syntax.
type RQL ¶
type RQL struct{}
RQL lexer for Relation Query Language <http://www.logilab.org/project/rql>
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.
type RagelEmbedded ¶
type RagelEmbedded struct{}
RagelEmbedded lexer. A lexer for Ragel embedded in a host language file.
type ResourceBundle ¶
type ResourceBundle struct{}
ResourceBundle lexer. Lexer for ICU ResourceBundle bundles <http://userguide.icu-project.org/locale/resources>
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.
type RoboconfGraph ¶
type RoboconfGraph struct{}
RoboconfGraph lexer for Roboconf <http://roboconf.net/en/roboconf.html> graph files.
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) 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) Name ¶
func (RubyIRBSession) 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.
type ShExC ¶
type ShExC struct{}
ShExC lexer. Lexer for ShExC <https://shex.io/shex-semantics/#shexc> shape expressions language syntax.
type Silver ¶
type Silver struct{}
Silver lexer. For Silver <https://bitbucket.org/viperproject/silver> source code.
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.
type SourcesList ¶
type SourcesList struct{}
SourcesList lexer. Lexer that highlights debian sources.list files.
type Sqlite3con ¶
type Sqlite3con struct{}
Sqlite3con lexer. Lexer for example sessions using sqlite3.
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>`.
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
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 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
type TcshSession ¶
type TcshSession struct{}
TcshSession lexer. Lexer for Tcsh sessions, i.e. command lines, including a prompt, interspersed with output.
type Tiddler ¶
type Tiddler struct{}
Tiddler lexer. For TiddlyWiki5 <https://tiddlywiki.com/#TiddlerFiles> markup.
type Todotxt ¶
type Todotxt struct{}
Todotxt lexer. Lexer for Todo.txt <http://todotxt.com/> todo list format.
type TrafficScript ¶
type TrafficScript struct{}
TrafficScript lexer. For `Riverbed Stingray Traffic Manager <http://www.riverbed.com/stingray>`
type Treetop ¶
type Treetop struct{}
Treetop lexer. A lexer for Treetop <http://treetop.rubyforge.org/> grammars.
Source Files ¶
- actionscript3.go
- adl.go
- agda.go
- aheui.go
- alloy.go
- ambienttalk.go
- ampl.go
- arrow.go
- aspectj.go
- aspxcsharp.go
- aspxvb.go
- asymptote.go
- augeas.go
- bare.go
- bbcbasic.go
- bbcode.go
- bc.go
- befunge.go
- blazor.go
- blitzmax.go
- boa.go
- boo.go
- boogie.go
- brainfuck.go
- bst.go
- bugs.go
- ca65assembler.go
- cadl.go
- camkes.go
- capdl.go
- cbmbasicv2.go
- charmci.go
- cirru.go
- clay.go
- clean.go
- clojurescript.go
- cobjdump.go
- cobolfree.go
- coldfusioncfc.go
- coldfusionhtml.go
- componentpascal.go
- coq.go
- cppobjdump.go
- cpsa.go
- crmsh.go
- croc.go
- crontab.go
- cryptol.go
- csounddocument.go
- csoundorchestra.go
- csoundscore.go
- cuda.go
- cypher.go
- darcspatch.go
- dasm16.go
- debiancontrol.go
- delphi.go
- devicetree.go
- dg.go
- dobjdump.go
- duel.go
- dylanlid.go
- dylansession.go
- earlgrey.go
- easytrieve.go
- ec.go
- ecl.go
- eiffel.go
- elixiriexsession.go
- email.go
- erb.go
- erlangerlsession.go
- evoque.go
- execline.go
- ezhil.go
- fancy.go
- fantom.go
- felix.go
- flatline.go
- floscript.go
- forth.go
- foxpro.go
- freefem.go
- fsharp.go
- fstar.go
- gap.go
- gas.go
- gdscript.go
- gettext.go
- golo.go
- gooddatacl.go
- gosu.go
- gosutemplate.go
- groff.go
- haml.go
- hsail.go
- hspec.go
- html.go
- http.go
- hxml.go
- hy.go
- hybris.go
- icon.go
- idl.go
- inform6.go
- inform6template.go
- inform7.go
- ini.go
- ioke.go
- irclogs.go
- isabelle.go
- jags.go
- jasmin.go
- jcl.go
- jsgf.go
- jsonld.go
- jsp.go
- juliaconsole.go
- juttle.go
- kal.go
- kconfig.go
- kernellog.go
- koka.go
- lasso.go
- lean.go
- less.go
- lexer.go
- limbo.go
- liquid.go
- literateagda.go
- literatecryptol.go
- literatehaskell.go
- literateidris.go
- livescript.go
- llvmmir.go
- llvmmirbody.go
- logos.go
- logtalk.go
- lsl.go
- make.go
- maql.go
- marko.go
- mask.go
- matlab.go
- matlabsession.go
- mime.go
- minid.go
- miniscript.go
- modelica.go
- modula2.go
- monkey.go
- monte.go
- moocode.go
- moonscript.go
- mosel.go
- mozhashpreproc.go
- mozpreprocpercent.go
- mql.go
- mscgen.go
- msdossession.go
- mupad.go
- mustache.go
- mxml.go
- nasm.go
- nasmobjdump.go
- ncl.go
- nemerle.go
- nesc.go
- newlisp.go
- nit.go
- notmuch.go
- nsis.go
- numpy.go
- nusmv.go
- objdump.go
- objectivec.go
- objectivecpp.go
- objectivej.go
- ooc.go
- opa.go
- openedgeabl.go
- pan.go
- parasail.go
- pawn.go
- peg.go
- perl.go
- perl6.go
- pike.go
- pointless.go
- povray.go
- powershellsession.go
- praat.go
- processing.go
- prolog.go
- psql.go
- psyshphp.go
- pug.go
- pypylog.go
- python.go
- python2.go
- python2traceback.go
- pythonconsole.go
- pythontraceback.go
- qbasic.go
- qvto.go
- r.go
- ragelembedded.go
- rawtoken.go
- razor.go
- rconsole.go
- rd.go
- rebol.go
- red.go
- redcode.go
- rescript.go
- resourcebundle.go
- rhtml.go
- ride.go
- rngcompact.go
- roboconfgraph.go
- roboconfinstances.go
- robotframework.go
- rpmspec.go
- rql.go
- rsl.go
- rubyirbsession.go
- sarl.go
- scaml.go
- scdoc.go
- sgf.go
- shen.go
- shexc.go
- silver.go
- singularity.go
- sketchdrawing.go
- slash.go
- slim.go
- slint.go
- slurm.go
- smali.go
- snowball.go
- sourceslist.go
- sqlite3con.go
- ssp.go
- stan.go
- stata.go
- sublimetextconfig.go
- supercollider.go
- swig.go
- tads3.go
- tap.go
- tasm.go
- tcshsession.go
- tea.go
- teraterm.go
- tiddler.go
- tnt.go
- todotxt.go
- trafficscript.go
- transactsql.go
- treetop.go
- turtle.go
- ucode.go
- unicon.go
- urbiscript.go
- usd.go
- vbnet.go
- vbscript.go
- vcl.go
- vclsnippet.go
- vctreestatus.go
- velocity.go
- verilog.go
- vgl.go
- wdiff.go
- webidl.go
- x10.go
- xaml.go
- xml.go
- xquery.go
- xslt.go
- xtend.go
- xtlang.go
- zeek.go
- zephir.go