module Rouge::Lexers
def self.load_lexer(relpath)
def self.load_lexer(relpath) return if @_loaded_lexers.key?(relpath) @_loaded_lexers[relpath] = true Kernel::load File.join(BASE_DIR, relpath) end
Classes
- Rouge::Lexers::ABAP
- Rouge::Lexers::APIBlueprint
- Rouge::Lexers::Actionscript
- Rouge::Lexers::Ada
- Rouge::Lexers::Apache
- Rouge::Lexers::Apex
- Rouge::Lexers::AppleScript
- Rouge::Lexers::ArmAsm
- Rouge::Lexers::Augeas
- Rouge::Lexers::Awk
- Rouge::Lexers::BBCBASIC
- Rouge::Lexers::BIML
- Rouge::Lexers::BPF
- Rouge::Lexers::Batchfile
- Rouge::Lexers::BibTeX
- Rouge::Lexers::Brainfuck
- Rouge::Lexers::Brightscript
- Rouge::Lexers::Bsl
- Rouge::Lexers::C
- Rouge::Lexers::CMHG
- Rouge::Lexers::CMake
- Rouge::Lexers::CSS
- Rouge::Lexers::CSVS
- Rouge::Lexers::CSharp
- Rouge::Lexers::CUDA
- Rouge::Lexers::Ceylon
- Rouge::Lexers::Cfscript
- Rouge::Lexers::CiscoIos
- Rouge::Lexers::Clean
- Rouge::Lexers::Clojure
- Rouge::Lexers::Coffeescript
- Rouge::Lexers::CommonLisp
- Rouge::Lexers::Conf
- Rouge::Lexers::ConsoleLexer
- Rouge::Lexers::Coq
- Rouge::Lexers::Cpp
- Rouge::Lexers::Crystal
- Rouge::Lexers::Cypher
- Rouge::Lexers::Cython
- Rouge::Lexers::D
- Rouge::Lexers::Dafny
- Rouge::Lexers::Dart
- Rouge::Lexers::Datastudio
- Rouge::Lexers::Diff
- Rouge::Lexers::Digdag
- Rouge::Lexers::Docker
- Rouge::Lexers::Dot
- Rouge::Lexers::ECL
- Rouge::Lexers::EEX
- Rouge::Lexers::EPP
- Rouge::Lexers::ERB
- Rouge::Lexers::Eiffel
- Rouge::Lexers::Elixir
- Rouge::Lexers::Elm
- Rouge::Lexers::Email
- Rouge::Lexers::Erlang
- Rouge::Lexers::Escape
- Rouge::Lexers::FSharp
- Rouge::Lexers::Factor
- Rouge::Lexers::Fluent
- Rouge::Lexers::Fortran
- Rouge::Lexers::FreeFEM
- Rouge::Lexers::GDScript
- Rouge::Lexers::GHCCmm
- Rouge::Lexers::GHCCore
- Rouge::Lexers::Gherkin
- Rouge::Lexers::Glsl
- Rouge::Lexers::Go
- Rouge::Lexers::Gradle
- Rouge::Lexers::GraphQL
- Rouge::Lexers::Groovy
- Rouge::Lexers::HLSL
- Rouge::Lexers::HOCON
- Rouge::Lexers::HQL
- Rouge::Lexers::HTML
- Rouge::Lexers::HTTP
- Rouge::Lexers::Hack
- Rouge::Lexers::Haml
- Rouge::Lexers::Handlebars
- Rouge::Lexers::Haskell
- Rouge::Lexers::Haxe
- Rouge::Lexers::Hcl
- Rouge::Lexers::HyLang
- Rouge::Lexers::IDLang
- Rouge::Lexers::INI
- Rouge::Lexers::IO
- Rouge::Lexers::IRBLexer
- Rouge::Lexers::IRBOutputLexer
- Rouge::Lexers::ISBL
- Rouge::Lexers::Idris
- Rouge::Lexers::IgorPro
- Rouge::Lexers::Isabelle
- Rouge::Lexers::J
- Rouge::Lexers::JSL
- Rouge::Lexers::JSON
- Rouge::Lexers::JSONDOC
- Rouge::Lexers::JSP
- Rouge::Lexers::JSX
- Rouge::Lexers::Janet
- Rouge::Lexers::Java
- Rouge::Lexers::Javascript
- Rouge::Lexers::Jinja
- Rouge::Lexers::Jsonnet
- Rouge::Lexers::Julia
- Rouge::Lexers::Kotlin
- Rouge::Lexers::LLVM
- Rouge::Lexers::Lasso
- Rouge::Lexers::Lean
- Rouge::Lexers::Liquid
- Rouge::Lexers::LiterateCoffeescript
- Rouge::Lexers::LiterateHaskell
- Rouge::Lexers::Livescript
- Rouge::Lexers::Lua
- Rouge::Lexers::Lustre
- Rouge::Lexers::Lutin
- Rouge::Lexers::M68k
- Rouge::Lexers::MXML
- Rouge::Lexers::Magik
- Rouge::Lexers::Make
- Rouge::Lexers::Markdown
- Rouge::Lexers::Mason
- Rouge::Lexers::Mathematica
- Rouge::Lexers::Matlab
- Rouge::Lexers::Meson
- Rouge::Lexers::MiniZinc
- Rouge::Lexers::Moonscript
- Rouge::Lexers::Mosel
- Rouge::Lexers::MsgTrans
- Rouge::Lexers::Nasm
- Rouge::Lexers::NesAsm
- Rouge::Lexers::Nginx
- Rouge::Lexers::Nial
- Rouge::Lexers::Nim
- Rouge::Lexers::Nix
- Rouge::Lexers::OCL
- Rouge::Lexers::OCaml
- Rouge::Lexers::OCamlCommon
- Rouge::Lexers::ObjectiveC
- Rouge::Lexers::ObjectiveCpp
- Rouge::Lexers::OpenEdge
- Rouge::Lexers::OpenTypeFeatureFile
- Rouge::Lexers::PHP
- Rouge::Lexers::PLSQL
- Rouge::Lexers::Pascal
- Rouge::Lexers::Perl
- Rouge::Lexers::PlainText
- Rouge::Lexers::Plist
- Rouge::Lexers::Pony
- Rouge::Lexers::PostScript
- Rouge::Lexers::Powershell
- Rouge::Lexers::Praat
- Rouge::Lexers::Prolog
- Rouge::Lexers::Prometheus
- Rouge::Lexers::Properties
- Rouge::Lexers::Protobuf
- Rouge::Lexers::Puppet
- Rouge::Lexers::Python
- Rouge::Lexers::Q
- Rouge::Lexers::Qml
- Rouge::Lexers::R
- Rouge::Lexers::RML
- Rouge::Lexers::Racket
- Rouge::Lexers::ReScript
- Rouge::Lexers::ReasonML
- Rouge::Lexers::Rego
- Rouge::Lexers::RobotFramework
- Rouge::Lexers::Ruby
- Rouge::Lexers::Rust
- Rouge::Lexers::SAS
- Rouge::Lexers::SML
- Rouge::Lexers::SPARQL
- Rouge::Lexers::SQF
- Rouge::Lexers::SQL
- Rouge::Lexers::SSH
- Rouge::Lexers::Sass
- Rouge::Lexers::SassCommon
- Rouge::Lexers::Scala
- Rouge::Lexers::Scheme
- Rouge::Lexers::Scss
- Rouge::Lexers::Sed
- Rouge::Lexers::Shell
- Rouge::Lexers::Sieve
- Rouge::Lexers::Slice
- Rouge::Lexers::Slim
- Rouge::Lexers::Smalltalk
- Rouge::Lexers::Smarty
- Rouge::Lexers::Stan
- Rouge::Lexers::Stata
- Rouge::Lexers::SuperCollider
- Rouge::Lexers::Swift
- Rouge::Lexers::SystemD
- Rouge::Lexers::Syzlang
- Rouge::Lexers::Syzprog
- Rouge::Lexers::TCL
- Rouge::Lexers::TOML
- Rouge::Lexers::TSX
- Rouge::Lexers::TTCN3
- Rouge::Lexers::Tap
- Rouge::Lexers::TeX
- Rouge::Lexers::Terraform
- Rouge::Lexers::Tulip
- Rouge::Lexers::Turtle
- Rouge::Lexers::Twig
- Rouge::Lexers::Typescript
- Rouge::Lexers::VHDL
- Rouge::Lexers::Vala
- Rouge::Lexers::Varnish
- Rouge::Lexers::Velocity
- Rouge::Lexers::Verilog
- Rouge::Lexers::VimL
- Rouge::Lexers::VisualBasic
- Rouge::Lexers::Vue
- Rouge::Lexers::Wollok
- Rouge::Lexers::XML
- Rouge::Lexers::XPath
- Rouge::Lexers::XQuery
- Rouge::Lexers::Xojo
- Rouge::Lexers::YAML
- Rouge::Lexers::YANG
- Rouge::Lexers::Zig
Class Methods
Defined in
- lib/rouge/lexer.rb
- lib/rouge/lexers/abap.rb
- lib/rouge/lexers/actionscript.rb
- lib/rouge/lexers/ada.rb
- lib/rouge/lexers/apache.rb
- lib/rouge/lexers/apache/keywords.rb
- lib/rouge/lexers/apex.rb
- lib/rouge/lexers/apiblueprint.rb
- lib/rouge/lexers/apple_script.rb
- lib/rouge/lexers/armasm.rb
- lib/rouge/lexers/augeas.rb
- lib/rouge/lexers/awk.rb
- lib/rouge/lexers/batchfile.rb
- lib/rouge/lexers/bbcbasic.rb
- lib/rouge/lexers/bibtex.rb
- lib/rouge/lexers/biml.rb
- lib/rouge/lexers/bpf.rb
- lib/rouge/lexers/brainfuck.rb
- lib/rouge/lexers/brightscript.rb
- lib/rouge/lexers/bsl.rb
- lib/rouge/lexers/c.rb
- lib/rouge/lexers/ceylon.rb
- lib/rouge/lexers/cfscript.rb
- lib/rouge/lexers/cisco_ios.rb
- lib/rouge/lexers/clean.rb
- lib/rouge/lexers/clojure.rb
- lib/rouge/lexers/cmake.rb
- lib/rouge/lexers/cmhg.rb
- lib/rouge/lexers/coffeescript.rb
- lib/rouge/lexers/common_lisp.rb
- lib/rouge/lexers/conf.rb
- lib/rouge/lexers/console.rb
- lib/rouge/lexers/coq.rb
- lib/rouge/lexers/cpp.rb
- lib/rouge/lexers/crystal.rb
- lib/rouge/lexers/csharp.rb
- lib/rouge/lexers/css.rb
- lib/rouge/lexers/csvs.rb
- lib/rouge/lexers/cuda.rb
- lib/rouge/lexers/cypher.rb
- lib/rouge/lexers/cython.rb
- lib/rouge/lexers/d.rb
- lib/rouge/lexers/dafny.rb
- lib/rouge/lexers/dart.rb
- lib/rouge/lexers/datastudio.rb
- lib/rouge/lexers/diff.rb
- lib/rouge/lexers/digdag.rb
- lib/rouge/lexers/docker.rb
- lib/rouge/lexers/dot.rb
- lib/rouge/lexers/ecl.rb
- lib/rouge/lexers/eex.rb
- lib/rouge/lexers/eiffel.rb
- lib/rouge/lexers/elixir.rb
- lib/rouge/lexers/elm.rb
- lib/rouge/lexers/email.rb
- lib/rouge/lexers/epp.rb
- lib/rouge/lexers/erb.rb
- lib/rouge/lexers/erlang.rb
- lib/rouge/lexers/escape.rb
- lib/rouge/lexers/factor.rb
- lib/rouge/lexers/fluent.rb
- lib/rouge/lexers/fortran.rb
- lib/rouge/lexers/freefem.rb
- lib/rouge/lexers/fsharp.rb
- lib/rouge/lexers/gdscript.rb
- lib/rouge/lexers/ghc_cmm.rb
- lib/rouge/lexers/ghc_core.rb
- lib/rouge/lexers/gherkin.rb
- lib/rouge/lexers/gherkin/keywords.rb
- lib/rouge/lexers/glsl.rb
- lib/rouge/lexers/go.rb
- lib/rouge/lexers/gradle.rb
- lib/rouge/lexers/graphql.rb
- lib/rouge/lexers/groovy.rb
- lib/rouge/lexers/hack.rb
- lib/rouge/lexers/haml.rb
- lib/rouge/lexers/handlebars.rb
- lib/rouge/lexers/haskell.rb
- lib/rouge/lexers/haxe.rb
- lib/rouge/lexers/hcl.rb
- lib/rouge/lexers/hlsl.rb
- lib/rouge/lexers/hocon.rb
- lib/rouge/lexers/hql.rb
- lib/rouge/lexers/html.rb
- lib/rouge/lexers/http.rb
- lib/rouge/lexers/hylang.rb
- lib/rouge/lexers/idlang.rb
- lib/rouge/lexers/idris.rb
- lib/rouge/lexers/igorpro.rb
- lib/rouge/lexers/ini.rb
- lib/rouge/lexers/io.rb
- lib/rouge/lexers/irb.rb
- lib/rouge/lexers/isabelle.rb
- lib/rouge/lexers/isbl.rb
- lib/rouge/lexers/isbl/builtins.rb
- lib/rouge/lexers/j.rb
- lib/rouge/lexers/janet.rb
- lib/rouge/lexers/java.rb
- lib/rouge/lexers/javascript.rb
- lib/rouge/lexers/jinja.rb
- lib/rouge/lexers/jsl.rb
- lib/rouge/lexers/json.rb
- lib/rouge/lexers/json_doc.rb
- lib/rouge/lexers/jsonnet.rb
- lib/rouge/lexers/jsp.rb
- lib/rouge/lexers/jsx.rb
- lib/rouge/lexers/julia.rb
- lib/rouge/lexers/kotlin.rb
- lib/rouge/lexers/lasso.rb
- lib/rouge/lexers/lasso/keywords.rb
- lib/rouge/lexers/lean.rb
- lib/rouge/lexers/liquid.rb
- lib/rouge/lexers/literate_coffeescript.rb
- lib/rouge/lexers/literate_haskell.rb
- lib/rouge/lexers/livescript.rb
- lib/rouge/lexers/llvm.rb
- lib/rouge/lexers/llvm/keywords.rb
- lib/rouge/lexers/lua.rb
- lib/rouge/lexers/lua/keywords.rb
- lib/rouge/lexers/lustre.rb
- lib/rouge/lexers/lutin.rb
- lib/rouge/lexers/m68k.rb
- lib/rouge/lexers/magik.rb
- lib/rouge/lexers/make.rb
- lib/rouge/lexers/markdown.rb
- lib/rouge/lexers/mason.rb
- lib/rouge/lexers/mathematica.rb
- lib/rouge/lexers/mathematica/keywords.rb
- lib/rouge/lexers/matlab.rb
- lib/rouge/lexers/matlab/builtins.rb
- lib/rouge/lexers/matlab/keywords.rb
- lib/rouge/lexers/meson.rb
- lib/rouge/lexers/minizinc.rb
- lib/rouge/lexers/moonscript.rb
- lib/rouge/lexers/mosel.rb
- lib/rouge/lexers/msgtrans.rb
- lib/rouge/lexers/mxml.rb
- lib/rouge/lexers/nasm.rb
- lib/rouge/lexers/nesasm.rb
- lib/rouge/lexers/nginx.rb
- lib/rouge/lexers/nial.rb
- lib/rouge/lexers/nim.rb
- lib/rouge/lexers/nix.rb
- lib/rouge/lexers/objective_c.rb
- lib/rouge/lexers/objective_c/common.rb
- lib/rouge/lexers/objective_cpp.rb
- lib/rouge/lexers/ocaml.rb
- lib/rouge/lexers/ocaml/common.rb
- lib/rouge/lexers/ocl.rb
- lib/rouge/lexers/openedge.rb
- lib/rouge/lexers/opentype_feature_file.rb
- lib/rouge/lexers/pascal.rb
- lib/rouge/lexers/perl.rb
- lib/rouge/lexers/php.rb
- lib/rouge/lexers/php/keywords.rb
- lib/rouge/lexers/plain_text.rb
- lib/rouge/lexers/plist.rb
- lib/rouge/lexers/plsql.rb
- lib/rouge/lexers/pony.rb
- lib/rouge/lexers/postscript.rb
- lib/rouge/lexers/powershell.rb
- lib/rouge/lexers/praat.rb
- lib/rouge/lexers/prolog.rb
- lib/rouge/lexers/prometheus.rb
- lib/rouge/lexers/properties.rb
- lib/rouge/lexers/protobuf.rb
- lib/rouge/lexers/puppet.rb
- lib/rouge/lexers/python.rb
- lib/rouge/lexers/q.rb
- lib/rouge/lexers/qml.rb
- lib/rouge/lexers/r.rb
- lib/rouge/lexers/racket.rb
- lib/rouge/lexers/reasonml.rb
- lib/rouge/lexers/rego.rb
- lib/rouge/lexers/rescript.rb
- lib/rouge/lexers/rml.rb
- lib/rouge/lexers/robot_framework.rb
- lib/rouge/lexers/ruby.rb
- lib/rouge/lexers/rust.rb
- lib/rouge/lexers/sas.rb
- lib/rouge/lexers/sass.rb
- lib/rouge/lexers/sass/common.rb
- lib/rouge/lexers/scala.rb
- lib/rouge/lexers/scheme.rb
- lib/rouge/lexers/scss.rb
- lib/rouge/lexers/sed.rb
- lib/rouge/lexers/shell.rb
- lib/rouge/lexers/sieve.rb
- lib/rouge/lexers/slice.rb
- lib/rouge/lexers/slim.rb
- lib/rouge/lexers/smalltalk.rb
- lib/rouge/lexers/smarty.rb
- lib/rouge/lexers/sml.rb
- lib/rouge/lexers/sparql.rb
- lib/rouge/lexers/sqf.rb
- lib/rouge/lexers/sqf/keywords.rb
- lib/rouge/lexers/sql.rb
- lib/rouge/lexers/ssh.rb
- lib/rouge/lexers/stan.rb
- lib/rouge/lexers/stata.rb
- lib/rouge/lexers/supercollider.rb
- lib/rouge/lexers/swift.rb
- lib/rouge/lexers/systemd.rb
- lib/rouge/lexers/syzlang.rb
- lib/rouge/lexers/syzprog.rb
- lib/rouge/lexers/tap.rb
- lib/rouge/lexers/tcl.rb
- lib/rouge/lexers/terraform.rb
- lib/rouge/lexers/tex.rb
- lib/rouge/lexers/toml.rb
- lib/rouge/lexers/tsx.rb
- lib/rouge/lexers/ttcn3.rb
- lib/rouge/lexers/tulip.rb
- lib/rouge/lexers/turtle.rb
- lib/rouge/lexers/twig.rb
- lib/rouge/lexers/typescript.rb
- lib/rouge/lexers/typescript/common.rb
- lib/rouge/lexers/vala.rb
- lib/rouge/lexers/varnish.rb
- lib/rouge/lexers/vb.rb
- lib/rouge/lexers/velocity.rb
- lib/rouge/lexers/verilog.rb
- lib/rouge/lexers/vhdl.rb
- lib/rouge/lexers/viml.rb
- lib/rouge/lexers/viml/keywords.rb
- lib/rouge/lexers/vue.rb
- lib/rouge/lexers/wollok.rb
- lib/rouge/lexers/xml.rb
- lib/rouge/lexers/xojo.rb
- lib/rouge/lexers/xpath.rb
- lib/rouge/lexers/xquery.rb
- lib/rouge/lexers/yaml.rb
- lib/rouge/lexers/yang.rb
- lib/rouge/lexers/zig.rb