module Rouge::Lexers
def self.load_lexer(relpath)
def self.load_lexer(relpath) return if @_loaded_lexers.key?(relpath) @_loaded_lexers[relpath] = true root = Pathname.new(__FILE__).dirname.join('lexers') load root.join(relpath) end
Modules
Classes
- Rouge::Lexers::ABAP
- Rouge::Lexers::APIBlueprint
- Rouge::Lexers::Actionscript
- Rouge::Lexers::Apache
- Rouge::Lexers::AppleScript
- Rouge::Lexers::Awk
- Rouge::Lexers::BIML
- Rouge::Lexers::Bsl
- Rouge::Lexers::C
- Rouge::Lexers::CMake
- Rouge::Lexers::CSS
- Rouge::Lexers::CSharp
- Rouge::Lexers::Ceylon
- Rouge::Lexers::Cfscript
- Rouge::Lexers::Clojure
- Rouge::Lexers::Coffeescript
- Rouge::Lexers::CommonLisp
- Rouge::Lexers::Conf
- Rouge::Lexers::ConsoleLexer
- Rouge::Lexers::Coq
- Rouge::Lexers::Cpp
- Rouge::Lexers::D
- Rouge::Lexers::Dart
- Rouge::Lexers::Diff
- Rouge::Lexers::Digdag
- Rouge::Lexers::Docker
- Rouge::Lexers::Dot
- Rouge::Lexers::ERB
- Rouge::Lexers::Eiffel
- Rouge::Lexers::Elixir
- Rouge::Lexers::Erlang
- Rouge::Lexers::FSharp
- Rouge::Lexers::Factor
- Rouge::Lexers::Fortran
- Rouge::Lexers::Gherkin
- Rouge::Lexers::Glsl
- Rouge::Lexers::Go
- Rouge::Lexers::Gradle
- Rouge::Lexers::GraphQL
- Rouge::Lexers::Groovy
- Rouge::Lexers::HTML
- Rouge::Lexers::HTTP
- Rouge::Lexers::Haml
- Rouge::Lexers::Handlebars
- Rouge::Lexers::Haskell
- Rouge::Lexers::HyLang
- Rouge::Lexers::IDLang
- Rouge::Lexers::INI
- Rouge::Lexers::IO
- Rouge::Lexers::IRBLexer
- Rouge::Lexers::IRBOutputLexer
- Rouge::Lexers::IgorPro
- Rouge::Lexers::JSON
- Rouge::Lexers::JSONDOC
- Rouge::Lexers::JSX
- 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::Liquid
- Rouge::Lexers::LiterateCoffeescript
- Rouge::Lexers::LiterateHaskell
- Rouge::Lexers::Lua
- Rouge::Lexers::MXML
- Rouge::Lexers::Make
- Rouge::Lexers::Markdown
- Rouge::Lexers::Matlab
- Rouge::Lexers::Moonscript
- Rouge::Lexers::Mosel
- Rouge::Lexers::Nasm
- Rouge::Lexers::Nginx
- Rouge::Lexers::Nim
- Rouge::Lexers::OCaml
- Rouge::Lexers::ObjectiveC
- Rouge::Lexers::PHP
- Rouge::Lexers::Pascal
- Rouge::Lexers::Perl
- Rouge::Lexers::PlainText
- Rouge::Lexers::Plist
- Rouge::Lexers::Pony
- 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::Racket
- Rouge::Lexers::Ruby
- Rouge::Lexers::Rust
- Rouge::Lexers::SML
- Rouge::Lexers::SQL
- 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::Slim
- Rouge::Lexers::Smalltalk
- Rouge::Lexers::Smarty
- Rouge::Lexers::Swift
- Rouge::Lexers::TCL
- Rouge::Lexers::TOML
- Rouge::Lexers::TSX
- Rouge::Lexers::Tap
- Rouge::Lexers::TeX
- Rouge::Lexers::Tulip
- Rouge::Lexers::Turtle
- Rouge::Lexers::Twig
- Rouge::Lexers::Typescript
- Rouge::Lexers::VHDL
- Rouge::Lexers::Vala
- Rouge::Lexers::Verilog
- Rouge::Lexers::VimL
- Rouge::Lexers::VisualBasic
- Rouge::Lexers::Vue
- Rouge::Lexers::Wollok
- Rouge::Lexers::XML
- Rouge::Lexers::YAML
Class Methods
Defined in
- lib/rouge/lexer.rb
- lib/rouge/lexers/abap.rb
- lib/rouge/lexers/actionscript.rb
- lib/rouge/lexers/apache.rb
- lib/rouge/lexers/apiblueprint.rb
- lib/rouge/lexers/apple_script.rb
- lib/rouge/lexers/awk.rb
- lib/rouge/lexers/biml.rb
- lib/rouge/lexers/bsl.rb
- lib/rouge/lexers/c.rb
- lib/rouge/lexers/ceylon.rb
- lib/rouge/lexers/cfscript.rb
- lib/rouge/lexers/clojure.rb
- lib/rouge/lexers/cmake.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/csharp.rb
- lib/rouge/lexers/css.rb
- lib/rouge/lexers/d.rb
- lib/rouge/lexers/dart.rb
- lib/rouge/lexers/diff.rb
- lib/rouge/lexers/digdag.rb
- lib/rouge/lexers/docker.rb
- lib/rouge/lexers/dot.rb
- lib/rouge/lexers/eiffel.rb
- lib/rouge/lexers/elixir.rb
- lib/rouge/lexers/erb.rb
- lib/rouge/lexers/erlang.rb
- lib/rouge/lexers/factor.rb
- lib/rouge/lexers/fortran.rb
- lib/rouge/lexers/fsharp.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/haml.rb
- lib/rouge/lexers/handlebars.rb
- lib/rouge/lexers/haskell.rb
- lib/rouge/lexers/html.rb
- lib/rouge/lexers/http.rb
- lib/rouge/lexers/hylang.rb
- lib/rouge/lexers/idlang.rb
- lib/rouge/lexers/igorpro.rb
- lib/rouge/lexers/ini.rb
- lib/rouge/lexers/io.rb
- lib/rouge/lexers/irb.rb
- lib/rouge/lexers/java.rb
- lib/rouge/lexers/javascript.rb
- lib/rouge/lexers/jinja.rb
- lib/rouge/lexers/json.rb
- lib/rouge/lexers/json_doc.rb
- lib/rouge/lexers/jsonnet.rb
- lib/rouge/lexers/jsx.rb
- lib/rouge/lexers/julia.rb
- lib/rouge/lexers/kotlin.rb
- lib/rouge/lexers/lasso.rb
- lib/rouge/lexers/liquid.rb
- lib/rouge/lexers/literate_coffeescript.rb
- lib/rouge/lexers/literate_haskell.rb
- lib/rouge/lexers/llvm.rb
- lib/rouge/lexers/lua.rb
- lib/rouge/lexers/lua/builtins.rb
- lib/rouge/lexers/make.rb
- lib/rouge/lexers/markdown.rb
- lib/rouge/lexers/matlab.rb
- lib/rouge/lexers/matlab/builtins.rb
- lib/rouge/lexers/moonscript.rb
- lib/rouge/lexers/mosel.rb
- lib/rouge/lexers/mxml.rb
- lib/rouge/lexers/nasm.rb
- lib/rouge/lexers/nginx.rb
- lib/rouge/lexers/nim.rb
- lib/rouge/lexers/objective_c.rb
- lib/rouge/lexers/ocaml.rb
- lib/rouge/lexers/pascal.rb
- lib/rouge/lexers/perl.rb
- lib/rouge/lexers/php.rb
- lib/rouge/lexers/php/builtins.rb
- lib/rouge/lexers/plain_text.rb
- lib/rouge/lexers/plist.rb
- lib/rouge/lexers/pony.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/ruby.rb
- lib/rouge/lexers/rust.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/slim.rb
- lib/rouge/lexers/smalltalk.rb
- lib/rouge/lexers/smarty.rb
- lib/rouge/lexers/sml.rb
- lib/rouge/lexers/sql.rb
- lib/rouge/lexers/swift.rb
- lib/rouge/lexers/tap.rb
- lib/rouge/lexers/tcl.rb
- lib/rouge/lexers/tex.rb
- lib/rouge/lexers/toml.rb
- lib/rouge/lexers/tsx.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/vb.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/yaml.rb