repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/tsx.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/tsx.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'jsx.rb' load_lexer 'typescript/common.rb' class TSX < JSX include TypescriptCommon title 'TypeScript' desc 'tsx' tag 'tsx' filenames '*.tsx' end end end
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/go.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/go.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Go < RegexLexer title "Go" desc 'The Go programming language (http://golang.org)' tag 'go' aliases 'go', 'golang' filenames '*.go' mimetypes 'text/x-go', 'application/x-go' # Chara...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/eiffel.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/eiffel.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Eiffel < RegexLexer title "Eiffel" desc "Eiffel programming language" tag 'eiffel' filenames '*.e' mimetypes 'text/x-eiffel' LanguageKeywords = %w( across agent alias all and att...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/prolog.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/prolog.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Prolog < RegexLexer title "Prolog" desc "The Prolog programming language (http://en.wikipedia.org/wiki/Prolog)" tag 'prolog' aliases 'prolog' filenames '*.pro', '*.P', '*.prolog', '*.pl' m...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/http.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/http.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class HTTP < RegexLexer tag 'http' title "HTTP" desc 'http requests and responses' def self.http_methods @http_methods ||= %w(GET POST PUT DELETE HEAD OPTIONS TRACE PATCH) end def cont...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/handlebars.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/handlebars.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Handlebars < TemplateLexer title "Handlebars" desc 'the Handlebars and Mustache templating languages' tag 'handlebars' aliases 'hbs', 'mustache' filenames '*.handlebars', '*.hbs', '*.mustache' ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/vue.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/vue.rb
# frozen_string_literal: true module Rouge module Lexers load_lexer 'html.rb' class Vue < HTML desc 'Vue.js single-file components' tag 'vue' aliases 'vuejs' filenames '*.vue' mimetypes 'text/x-vue', 'application/x-vue' def initialize(*) super @js = Java...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/glsl.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/glsl.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'c.rb' # This file defines the GLSL language lexer to the Rouge # syntax highlighter. # # Author: Sri Harsha Chilakapati class Glsl < C tag 'glsl' filenames '*.glsl', '*.frag', '*.vert',...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/nasm.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/nasm.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Nasm < RegexLexer tag 'nasm' filenames '*.asm' #mimetypes 'text/x-chdr', 'text/x-csrc' title "Nasm" desc "Netwide Assembler" ws = %r((?:\s|;.*?\n/)+) id = /[a-zA-Z_][a-zA-Z0-9_]*/ ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/make.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/make.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Make < RegexLexer title "Make" desc "Makefile syntax" tag 'make' aliases 'makefile', 'mf', 'gnumake', 'bsdmake' filenames '*.make', 'Makefile', 'makefile', 'Makefile.*', 'GNUmakefile' mime...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/turtle.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/turtle.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Turtle < RegexLexer title "Turtle/TriG" desc "Terse RDF Triple Language, TriG" tag 'turtle' filenames *%w(*.ttl *.trig) mimetypes *%w( text/turtle application/trig ) ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/matlab.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/matlab.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Matlab < RegexLexer title "MATLAB" desc "Matlab" tag 'matlab' aliases 'm' filenames '*.m' mimetypes 'text/x-matlab', 'application/x-matlab' def self.keywords @keywords = Set...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/properties.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/properties.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Properties < RegexLexer title ".properties" desc '.properties config files for Java' tag 'properties' filenames '*.properties' mimetypes 'text/x-java-properties' identifier = /[\w.-]+/ ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/liquid.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/liquid.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Liquid < RegexLexer title "Liquid" desc 'Liquid is a templating engine for Ruby (liquidmarkup.org)' tag 'liquid' filenames '*.liquid' state :root do rule /[^\{]+/, Text rule /(...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/scheme.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/scheme.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Scheme < RegexLexer title "Scheme" desc "The Scheme variant of Lisp" tag 'scheme' filenames '*.scm', '*.ss' mimetypes 'text/x-scheme', 'application/x-scheme' def self.keywords @k...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/cmake.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/cmake.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class CMake < RegexLexer title 'CMake' desc 'The cross-platform, open-source build system' tag 'cmake' filenames 'CMakeLists.txt', '*.cmake' mimetypes 'text/x-cmake' SPACE = '[ \t]' BRACK...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/powershell.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/powershell.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'shell.rb' class Powershell < Shell title 'powershell' desc 'powershell' tag 'powershell' aliases 'posh' filenames '*.ps1', '*.psm1', '*.psd1', '*.psrc', '*.pssc' mimetypes 'text...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
true
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/tex.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/tex.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class TeX < RegexLexer title "TeX" desc "The TeX typesetting system" tag 'tex' aliases 'TeX', 'LaTeX', 'latex' filenames '*.tex', '*.aux', '*.toc', '*.sty', '*.cls' mimetypes 'text/x-tex', 'tex...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/java.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/java.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Java < RegexLexer title "Java" desc "The Java programming language (java.com)" tag 'java' filenames '*.java' mimetypes 'text/x-java' keywords = %w( assert break case catch contin...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/digdag.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/digdag.rb
# frozen_string_literal: true require 'set' module Rouge module Lexers load_lexer 'yaml.rb' class Digdag < YAML title 'digdag' desc 'A simple, open source, multi-cloud workflow engine (https://www.digdag.io/)' tag 'digdag' filenames '*.dig' mimetypes 'application/x-digdag' ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/tap.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/tap.rb
# frozen_string_literal: true module Rouge module Lexers class Tap < RegexLexer title 'TAP' desc 'Test Anything Protocol' tag 'tap' aliases 'tap' filenames '*.tap' mimetypes 'text/x-tap', 'application/x-tap' state :root do # A TAP version may be specified. ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/sieve.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/sieve.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Sieve < RegexLexer title "Sieve" desc "mail filtering language" tag 'sieve' filenames '*.sieve' id = /:?[a-zA-Z_][a-zA-Z0-9_]*/ # control commands (rfc5228 § 3) def self.controls ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/protobuf.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/protobuf.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Protobuf < RegexLexer title 'Protobuf' desc 'Google\'s language-neutral, platform-neutral, extensible mechanism for serializing structured data' tag 'protobuf' aliases 'proto' filenames '*.proto...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/tulip.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/tulip.rb
# frozen_string_literal: true module Rouge module Lexers class Tulip < RegexLexer desc 'the tulip programming language (twitter.com/tuliplang)' tag 'tulip' aliases 'tulip' filenames '*.tlp' mimetypes 'text/x-tulip', 'application/x-tulip' def self.detect?(text) retur...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/groovy.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/groovy.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Groovy < RegexLexer title "Groovy" desc 'The Groovy programming language (http://www.groovy-lang.org/)' tag 'groovy' filenames '*.groovy', 'Jenkinsfile' mimetypes 'text/x-groovy' ws = %r(...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/twig.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/twig.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'jinja.rb' class Twig < Jinja title "Twig" desc "Twig template engine (twig.sensiolabs.org)" tag "twig" filenames '*.twig' mimetypes 'application/x-twig', 'text/html+twig' de...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/shell.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/shell.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Shell < RegexLexer title "shell" desc "Various shell languages, including sh and bash" tag 'shell' aliases 'bash', 'zsh', 'ksh', 'sh' filenames '*.sh', '*.bash', '*.zsh', '*.ksh', ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/markdown.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/markdown.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Markdown < RegexLexer title "Markdown" desc "Markdown, a light-weight markup language for authors" tag 'markdown' aliases 'md', 'mkd' filenames '*.markdown', '*.md', '*.mkd' mimetypes 'te...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/coq.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/coq.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Coq < RegexLexer title "Coq" desc 'Coq (coq.inria.fr)' tag 'coq' mimetypes 'text/x-coq' def self.gallina @gallina ||= Set.new %w( as fun if in let match then else return end T...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/jsp.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/jsp.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class JSP < TemplateLexer desc 'JSP' tag 'jsp' filenames '*.jsp' mimetypes 'text/x-jsp', 'application/x-jsp' def initialize(*) super @java = Java.new end directives = ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/plain_text.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/plain_text.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class PlainText < Lexer title "Plain Text" desc "A boring lexer that doesn't highlight anything" tag 'plaintext' aliases 'text' filenames '*.txt' mimetypes 'text/plain' attr_reader :toke...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/nim.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/nim.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Nim < RegexLexer # This is pretty much a 1-1 port of the pygments NimrodLexer class title "Nim" desc "The Nim programming language (http://nim-lang.org/)" tag 'nim' aliases 'nimrod' filen...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/gradle.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/gradle.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'groovy.rb' class Gradle < Groovy title "Gradle" desc "A powerful build system for the JVM" tag 'gradle' filenames '*.gradle' mimetypes 'text/x-gradle' def self.keywords ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/conf.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/conf.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Conf < RegexLexer tag 'conf' aliases 'config', 'configuration' title "Config File" desc 'A generic lexer for configuration files' filenames '*.conf', '*.config' # short and sweet s...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/prometheus.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/prometheus.rb
# frozen_string_literal: true module Rouge module Lexers class Prometheus < RegexLexer desc 'prometheus' tag 'prometheus' aliases 'prometheus' filenames '*.prometheus' mimetypes 'text/x-prometheus', 'application/x-prometheus' def self.functions @functions ||= Set.new...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/csharp.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/csharp.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class CSharp < RegexLexer tag 'csharp' aliases 'c#', 'cs' filenames '*.cs' mimetypes 'text/x-csharp' title "C#" desc 'a multi-paradigm language targeting .NET' # TODO: support more of un...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/erb.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/erb.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class ERB < TemplateLexer title "ERB" desc "Embedded ruby template files" tag 'erb' aliases 'eruby', 'rhtml' filenames '*.erb', '*.erubis', '*.rhtml', '*.eruby' def initialize(opts={}) ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/haml.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/haml.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers # A lexer for the Haml templating system for Ruby. # @see http://haml.info class Haml < RegexLexer include Indentation title "Haml" desc "The Haml templating system for Ruby (haml.info)" tag 'haml...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/graphql.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/graphql.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class GraphQL < RegexLexer desc 'GraphQL' tag 'graphql' filenames '*.graphql', '*.gql' mimetypes 'application/graphql' name = /[_A-Za-z][_0-9A-Za-z]*/ state :root do rule /\b(?:query|m...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/scss.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/scss.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'sass/common.rb' class Scss < SassCommon title "SCSS" desc "SCSS stylesheets (sass-lang.com)" tag 'scss' filenames '*.scss' mimetypes 'text/x-scss' state :root do rule /...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/praat.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/praat.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Praat < RegexLexer title "Praat" desc "The Praat scripting language (praat.org)" tag 'praat' filenames '*.praat', '*.proc', '*.psc' def self.detect?(text) return true if text.shebang?...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/dot.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/dot.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Dot < RegexLexer title "DOT" desc "graph description language" tag 'dot' filenames '*.dot' mimetypes 'text/vnd.graphviz' start do @html = HTML.new(options) end state...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/javascript.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/javascript.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers # IMPORTANT NOTICE: # # Please do not copy this lexer and open a pull request # for a new language. It will not get merged, you will # be unhappy, and kittens will cry. # class Javascript < RegexLexer ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/sed.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/sed.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Sed < RegexLexer title "sed" desc 'sed, the ultimate stream editor' tag 'sed' filenames '*.sed' mimetypes 'text/x-sed' def self.detect?(text) return true if text.shebang? 'sed' ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/objective_c.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/objective_c.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'c.rb' class ObjectiveC < C tag 'objective_c' title "Objective-C" desc 'an extension of C commonly used to write Apple software' aliases 'objc', 'obj-c', 'obj_c', 'objectivec' filename...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/ruby.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/ruby.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Ruby < RegexLexer title "Ruby" desc "The Ruby programming language (ruby-lang.org)" tag 'ruby' aliases 'rb' filenames '*.rb', '*.ruby', '*.rbw', '*.rake', '*.gemspec', '*.podspec', ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/sml.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/sml.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class SML < RegexLexer title "SML" desc 'Standard ML' tag 'sml' aliases 'ml' filenames '*.sml', '*.sig', '*.fun' mimetypes 'text/x-standardml', 'application/x-standardml' def self.keywor...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/apple_script.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/apple_script.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class AppleScript < RegexLexer title "AppleScript" desc "The AppleScript scripting language by Apple Inc. (http://developer.apple.com/applescript/)" tag 'applescript' aliases 'applescript' filenames...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/pascal.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/pascal.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Pascal < RegexLexer tag 'pascal' title "Pascal" desc 'a procedural programming language commonly used as a teaching language.' filenames '*.pas' mimetypes 'text/x-pascal' id = /@?[_a-z]\...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/r.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/r.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class R < RegexLexer title "R" desc 'The R statistics language (r-project.org)' tag 'r' aliases 'r', 'R', 's', 'S' filenames '*.R', '*.r', '.Rhistory', '.Rprofile' mimetypes 'text/x-r-source', '...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/smarty.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/smarty.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Smarty < TemplateLexer title "Smarty" desc 'Smarty Template Engine' tag 'smarty' aliases 'smarty' filenames '*.tpl', '*.smarty' mimetypes 'application/x-smarty', 'text/x-smarty' def...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/elm.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/elm.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Elm < RegexLexer title "Elm" desc "The Elm programming language (http://elm-lang.org/)" tag 'elm' filenames '*.elm' mimetypes 'text/x-elm' # Keywords are logically grouped by lines ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/rust.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/rust.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Rust < RegexLexer title "Rust" desc 'The Rust programming language (rust-lang.org)' tag 'rust' aliases 'rs', # So that directives from https://github.com/budziq/rust-skeptic # do not p...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/smalltalk.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/smalltalk.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Smalltalk < RegexLexer title "Smalltalk" desc 'The Smalltalk programming language' tag 'smalltalk' aliases 'st', 'squeak' filenames '*.st' mimetypes 'text/x-smalltalk' ops = %r([-+...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/haskell.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/haskell.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Haskell < RegexLexer title "Haskell" desc "The Haskell programming language (haskell.org)" tag 'haskell' aliases 'hs' filenames '*.hs' mimetypes 'text/x-haskell' def self.detect?(t...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/slim.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/slim.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers # A lexer for the Slim tempalte language # @see http://slim-lang.org class Slim < RegexLexer include Indentation title "Slim" desc 'The Slim template language' tag 'slim' filenames '*.slim'...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/llvm.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/llvm.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class LLVM < RegexLexer title "LLVM" desc 'The LLVM Compiler Infrastructure (http://llvm.org/)' tag 'llvm' filenames '*.ll' mimetypes 'text/x-llvm' string = /"[^"]*?"/ identifier = /([-a...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/kotlin.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/kotlin.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Kotlin < RegexLexer # https://kotlinlang.org/docs/reference/grammar.html title "Kotlin" desc "Kotlin Programming Language (http://kotlinlang.org)" tag 'kotlin' filenames '*.kt', '*.kts' ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/lua.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/lua.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Lua < RegexLexer title "Lua" desc "Lua (http://www.lua.org)" tag 'lua' filenames '*.lua', '*.wlua' mimetypes 'text/x-lua', 'application/x-lua' option :function_highlighting, 'Whether to ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/mathematica.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/mathematica.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Mathematica < RegexLexer title "Mathematica" desc "Wolfram Mathematica, the world's definitive system for modern technical computing." tag 'mathematica' aliases 'wl' filenames '*.m', '*.wl' ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/q.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/q.rb
# frozen_string_literal: true module Rouge module Lexers class Q < RegexLexer title 'Q' desc 'The Q programming language (kx.com)' tag 'q' aliases 'kdb+' filenames '*.q' mimetypes 'text/x-q', 'application/x-q' identifier = /\.?[a-z][a-z0-9_.]*/i def self.keywords...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/scala.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/scala.rb
# -*- coding: utf-8 # # frozen_string_literal: true module Rouge module Lexers class Scala < RegexLexer title "Scala" desc "The Scala programming language (scala-lang.org)" tag 'scala' aliases 'scala' filenames '*.scala', '*.sbt' mimetypes 'text/x-scala', 'application/x-scala...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/pony.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/pony.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Pony < RegexLexer tag 'pony' filenames '*.pony' keywords = Set.new %w( actor addressof and as be break class compiler_intrinsic consume continue do else elseif embed...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/cpp.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/cpp.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'c.rb' class Cpp < C title "C++" desc "The C++ programming language" tag 'cpp' aliases 'c++' # the many varied filenames of c++ source files... filenames '*.cpp', '*.hpp', ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/nginx.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/nginx.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Nginx < RegexLexer title "nginx" desc 'configuration files for the nginx web server (nginx.org)' tag 'nginx' mimetypes 'text/x-nginx-conf' filenames 'nginx.conf' id = /[^\s$;{}()#]+/ ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/abap.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/abap.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # ABAP elements taken from http://help.sap.com/abapdocu_750/en/index.htm?file=abapdo.htm module Rouge module Lexers class ABAP < RegexLexer title "ABAP" desc "SAP - Advanced Business Application Programming" tag 'abap' filenames '*....
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/puppet.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/puppet.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Puppet < RegexLexer title "Puppet" desc 'The Puppet configuration management language (puppetlabs.org)' tag 'puppet' aliases 'pp' filenames '*.pp' def self.detect?(text) return tr...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/vala.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/vala.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Vala < RegexLexer tag 'vala' filenames '*.vala' mimetypes 'text/x-vala' title "Vala" desc 'A programming language similar to csharp.' id = /@?[_a-z]\w*/i keywords = %w( ab...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/vhdl.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/vhdl.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class VHDL < RegexLexer title "VHDL 2008" desc "Very High Speed Integrated Circuit Hardware Description Language" tag 'vhdl' filenames '*.vhd', '*.vhdl', '*.vho' mimetypes 'text/x-vhdl' def se...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/json_doc.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/json_doc.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'json.rb' class JSONDOC < JSON desc "JavaScript Object Notation with extenstions for documentation" tag 'json-doc' prepend :root do rule /([$\w]+)(\s*)(:)/ do groups Name::Attri...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/actionscript.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/actionscript.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Actionscript < RegexLexer title "ActionScript" desc "ActionScript" tag 'actionscript' aliases 'as', 'as3' filenames '*.as' mimetypes 'application/x-actionscript' state :comments_an...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/html.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/html.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class HTML < RegexLexer title "HTML" desc "HTML, the markup language of the web" tag 'html' filenames '*.htm', '*.html', '*.xhtml' mimetypes 'text/html', 'application/xhtml+xml' def self.detect...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/verilog.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/verilog.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Verilog < RegexLexer title "Verilog and System Verilog" desc "The System Verilog hardware description language" tag 'verilog' filenames '*.v', '*.sv', '*.svh' mimetypes 'text/x-verilog', 'text/x...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/ceylon.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/ceylon.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Ceylon < RegexLexer tag 'ceylon' filenames '*.ceylon' mimetypes 'text/x-ceylon' title "Ceylon" desc 'Say more, more clearly.' keywords = %w( break case catch continue else finall...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/sqf/commands.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/sqf/commands.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # automatically generated by `rake builtins:sqf` module Rouge module Lexers class SQF < RegexLexer def self.commands @commands = Set.new %w(
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
true
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/gherkin/keywords.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/gherkin/keywords.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # automatically generated by `rake builtins:gherkin` module Rouge module Lexers def Gherkin.keywords @keywords ||= {}.tap do |k| k[:feature] = Set.new ["Ability", "Ahoy matey!", "Arwedd", "Aspekt", "Besigheid Behoefte", "Biznis potreba", "Busi...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/lua/builtins.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/lua/builtins.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # automatically generated by `rake builtins:lua` module Rouge module Lexers class Lua def self.builtins @builtins ||= {}.tap do |b| b["basic"] = Set.new %w(_G _VERSION assert collectgarbage dofile error getmetatable ipairs load loadf...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/mathematica/builtins.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/mathematica/builtins.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # automatically generated by `rake builtins:mathematica` module Rouge module Lexers class Mathematica def self.builtins
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
true
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/sass/common.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/sass/common.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers # shared states with SCSS class SassCommon < RegexLexer id = /[\w-]+/ state :content_common do rule /@for\b/, Keyword, :for rule /@(debug|warn|if|each|while|else|return|media)/, Keyword, :value ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/viml/keywords.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/viml/keywords.rb
# encoding: utf-8 # frozen_string_literal: true # DO NOT EDIT: automatically generated by `rake builtins:vim`. # see tasks/vim.rake for more info. module Rouge module Lexers class VimL def self.keywords @keywords ||= {:command=>[["a", "a"], ["abc", "abclear"], ["abo", "aboveleft"], ["al", "all"], [...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/matlab/builtins.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/matlab/builtins.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # automatically generated by `rake builtins:matlab` module Rouge module Lexers class Matlab def self.builtins @builtins ||= Set.new %w(ans clc diary format home iskeyword more zeros ones rand true false eye diag blkdiag cat horzcat vertcat rep...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/typescript/common.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/typescript/common.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers module TypescriptCommon def self.keywords @keywords ||= super + Set.new(%w( is namespace static private protected public implements readonly )) end def self.declarations ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/php/builtins.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/php/builtins.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # automatically generated by `rake builtins:php` module Rouge module Lexers class PHP def self.builtins @builtins ||= {}.tap do |b| b["Apache"] = Set.new %w(apache_child_terminate apache_child_terminate apache_get_modules apache_get_...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
true
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/pastie.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/pastie.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Themes # A port of the pastie style from Pygments. # See https://bitbucket.org/birkenfeld/pygments-main/src/default/pygments/styles/pastie.py class Pastie < CSSTheme name 'pastie' style Comment, :f...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/monokai_sublime.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/monokai_sublime.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Themes class MonokaiSublime < CSSTheme name 'monokai.sublime' palette :black => '#000000' palette :bright_green => '#a6e22e' palette :bright_pink => '#f92672' palette :carmine => '#9600...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/base16.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/base16.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Themes # default base16 theme # by Chris Kempson (http://chriskempson.com) class Base16 < CSSTheme name 'base16' palette base00: "#151515" palette base01: "#202020" palette base02: "#303030" palette...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/github.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/github.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Themes class Github < CSSTheme name 'github' style Comment::Multiline, :fg => '#999988', :italic => true style Comment::Preproc, :fg => '#999999', :bold => true style Comment::Single...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/thankful_eyes.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/thankful_eyes.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Themes class ThankfulEyes < CSSTheme name 'thankful_eyes' # pallette, from GTKSourceView's ThankfulEyes palette :cool_as_ice => '#6c8b9f' palette :slate_blue => '#4e5d62' palette :eggshell_cloud => '...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/monokai.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/monokai.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Themes class Monokai < CSSTheme name 'monokai' palette :black => '#000000' palette :bright_green => '#a6e22e' palette :bright_pink => '#f92672' palette :carmine => '#960050' palet...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/molokai.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/molokai.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Themes class Molokai < CSSTheme name 'molokai' palette :black => '#1b1d1e' palette :white => '#f8f8f2' palette :blue => '#66d9ef' palette :green => '#a6e22e' palet...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/igor_pro.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/igor_pro.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Themes class IgorPro < CSSTheme name 'igorpro' style Text, :fg => '#444444' style Comment::Preproc, :fg => '#CC00A3' style Comment::Special, :fg => '#CC...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/tulip.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/tulip.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Themes class Tulip < CSSTheme name 'tulip' palette :purple => '#766DAF' palette :lpurple => '#9f93e6' palette :orange => '#FAAF4C' palette :green => '#3FB34F' palette :lgreen ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/colorful.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/colorful.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Themes # stolen from pygments class Colorful < CSSTheme name 'colorful' style Text, :fg => "#bbbbbb", :bg => '#000' style Comment, :fg => "#888" style Comment::Prep...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/gruvbox.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/themes/gruvbox.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # TODO how are we going to handle soft/hard contrast? module Rouge module Themes # Based on https://github.com/morhetz/gruvbox, with help from # https://github.com/daveyarwood/gruvbox-pygments class Gruvbox < CSSTheme name 'gruvbox' # ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/formatters/html_legacy.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/formatters/html_legacy.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # stdlib require 'cgi' module Rouge module Formatters # Transforms a token stream into HTML output. class HTMLLegacy < Formatter tag 'html_legacy' # @option opts [String] :css_class ('highlight') # @option opts [true/false] :line_num...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/formatters/html_linewise.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/formatters/html_linewise.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Formatters class HTMLLinewise < Formatter def initialize(formatter, opts={}) @formatter = formatter @class_format = opts.fetch(:class, 'line-%i') end def stream(tokens, &b) token_lines(tokens) d...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/formatters/html_table.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/formatters/html_table.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Formatters class HTMLTable < Formatter tag 'html_table' def initialize(inner, opts={}) @inner = inner @start_line = opts.fetch(:start_line, 1) @line_format = opts.fetch(:line_format, '%i') @ta...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/formatters/terminal256.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/formatters/terminal256.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Formatters # A formatter for 256-color terminals class Terminal256 < Formatter tag 'terminal256' # @private attr_reader :theme # @param [Hash,Rouge::Theme] theme # the theme to render with. def...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/formatters/html_inline.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/formatters/html_inline.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Formatters class HTMLInline < HTML tag 'html_inline' def initialize(theme) if theme.is_a?(Class) && theme < Rouge::Theme @theme = theme.new elsif theme.is_a?(Rouge::Theme) @theme = theme ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false
grab/engineering-blog
https://github.com/grab/engineering-blog/blob/d8026a4e9cc6348bf38951ee96c523f4ec19f3c4/_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/formatters/null.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/formatters/null.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Formatters # A formatter which renders nothing. class Null < Formatter tag 'null' def initialize(*) end def stream(tokens, &b) tokens.each do |tok, val| yield "#{tok.qualname} #{val.inspect...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false