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/pathutil-0.16.2/lib/pathutil/version.rb
_vendor/ruby/2.6.0/gems/pathutil-0.16.2/lib/pathutil/version.rb
# Frozen-string-literal: true # Copyright: 2015 - 2017 Jordon Bedwell - MIT License # Encoding: utf-8 class Pathutil VERSION = "0.16.2" 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/pathutil-0.16.2/lib/pathutil/helpers.rb
_vendor/ruby/2.6.0/gems/pathutil-0.16.2/lib/pathutil/helpers.rb
# Frozen-string-literal: true # Copyright: 2015 - 2017 Jordon Bedwell - MIT License # Encoding: utf-8 class Pathutil module Helpers extend self # -- def allowed return @allowed ||= begin { :yaml => { :classes => [], :symbols => [] } } ...
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/forwardable-extended-2.6.0/lib/forwardable/extended.rb
_vendor/ruby/2.6.0/gems/forwardable-extended-2.6.0/lib/forwardable/extended.rb
# ---------------------------------------------------------------------------- # Frozen-string-literal: true # Copyright: 2015-2016 Jordon Bedwell - MIT License # Encoding: utf-8 # ---------------------------------------------------------------------------- require "forwardable/extended/version" require "forwardable" ...
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/forwardable-extended-2.6.0/lib/forwardable/extended/version.rb
_vendor/ruby/2.6.0/gems/forwardable-extended-2.6.0/lib/forwardable/extended/version.rb
# Frozen-string-literal: true # Copyright: 2015-2016 Jordon Bedwell - MIT License # Encoding: utf-8 module Forwardable module Extended VERSION = "2.6.0" 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/ruby_dep-1.5.0/lib/ruby_dep.rb
_vendor/ruby/2.6.0/gems/ruby_dep-1.5.0/lib/ruby_dep.rb
require 'ruby_dep/version' require 'ruby_dep/travis'
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/ruby_dep-1.5.0/lib/ruby_dep/quiet.rb
_vendor/ruby/2.6.0/gems/ruby_dep-1.5.0/lib/ruby_dep/quiet.rb
require 'ruby_dep/warning' RubyDep::Warning.new.silence!
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/ruby_dep-1.5.0/lib/ruby_dep/travis.rb
_vendor/ruby/2.6.0/gems/ruby_dep-1.5.0/lib/ruby_dep/travis.rb
require 'yaml' require 'ruby_dep/travis/ruby_version' module RubyDep class Travis def version_constraint(filename = '.travis.yml') yaml = YAML.load(IO.read(filename)) versions = supported_versions(yaml) selected = versions_for_latest_major(versions) lowest = lowest_supported(selected) ...
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/ruby_dep-1.5.0/lib/ruby_dep/version.rb
_vendor/ruby/2.6.0/gems/ruby_dep-1.5.0/lib/ruby_dep/version.rb
module RubyDep VERSION = '1.5.0'.freeze 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/ruby_dep-1.5.0/lib/ruby_dep/logger.rb
_vendor/ruby/2.6.0/gems/ruby_dep-1.5.0/lib/ruby_dep/logger.rb
require 'logger' module RubyDep def self.logger @logger ||= stderr_logger end def self.logger=(new_logger) @logger = new_logger.nil? ? NullLogger.new : new_logger end def self.stderr_logger ::Logger.new(STDERR).tap do |logger| logger.formatter = proc { |_,_,_,msg| "#{msg}\n" } end e...
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/ruby_dep-1.5.0/lib/ruby_dep/warning.rb
_vendor/ruby/2.6.0/gems/ruby_dep-1.5.0/lib/ruby_dep/warning.rb
require 'ruby_dep/logger' require 'ruby_dep/ruby_version' module RubyDep PROJECT_URL = 'http://github.com/e2/ruby_dep'.freeze class Warning DISABLING_ENVIRONMENT_VAR = 'RUBY_DEP_GEM_SILENCE_WARNINGS'.freeze PREFIX = 'RubyDep: WARNING: '.freeze WARNING = { insecure: 'Your Ruby has security vulne...
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/ruby_dep-1.5.0/lib/ruby_dep/ruby_version.rb
_vendor/ruby/2.6.0/gems/ruby_dep-1.5.0/lib/ruby_dep/ruby_version.rb
module RubyDep class RubyVersion attr_reader :status # NOTE: monkey-patched by acceptance tests attr_reader :version attr_reader :engine def initialize(ruby_version, engine) @engine = engine @version = Gem::Version.new(ruby_version) @status = detect_status end def recogniz...
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/ruby_dep-1.5.0/lib/ruby_dep/travis/ruby_version.rb
_vendor/ruby/2.6.0/gems/ruby_dep-1.5.0/lib/ruby_dep/travis/ruby_version.rb
module RubyDep class Travis class RubyVersion REGEXP = /^ (?: (?<engine>ruby|jruby) -)? (?<version>\d+\.\d+\.\d+(?:\.\d+)?) (?:-p\d+)? (?:-clang)? $/x class Error < RuntimeError class Unrecognized < Error def initialize(invalid_version_st...
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/http_parser.rb-0.6.0/bench/thin.rb
_vendor/ruby/2.6.0/gems/http_parser.rb-0.6.0/bench/thin.rb
$:.unshift File.dirname(__FILE__) + "/../lib" require "rubygems" require "thin_parser" require "http_parser" require "benchmark" require "stringio" data = "POST /postit HTTP/1.1\r\n" + "Host: localhost:3000\r\n" + "User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.9) Gecko/20071025 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/http_parser.rb-0.6.0/bench/standalone.rb
_vendor/ruby/2.6.0/gems/http_parser.rb-0.6.0/bench/standalone.rb
#!/usr/bin/env ruby $:.unshift File.dirname(__FILE__) + "/../lib" require "rubygems" require "http/parser" require "benchmark/ips" request = <<-REQUEST GET / HTTP/1.1 Host: www.example.com Connection: keep-alive User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17...
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/http_parser.rb-0.6.0/ext/ruby_http_parser/extconf.rb
_vendor/ruby/2.6.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser/extconf.rb
require 'mkmf' # check out code if it hasn't been already if Dir[File.expand_path('../vendor/http-parser/*', __FILE__)].empty? Dir.chdir(File.expand_path('../../../', __FILE__)) do xsystem 'git submodule init' xsystem 'git submodule update' end end # mongrel and http-parser both define http_parser_(init|e...
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/http_parser.rb-0.6.0/ext/ruby_http_parser/vendor/http-parser-java/tools/lowcase.rb
_vendor/ruby/2.6.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser/vendor/http-parser-java/tools/lowcase.rb
0.upto(255) { |i| printf "\n" if i%16 == 0 printf " " if i%8 == 0 s = ("" << i) if s =~ /[A-Z0-9\-_\/ ]/ print "0x#{i.to_s(16)}," elsif s =~ /[a-z]/ print "0x#{s.upcase[0].to_s(16)}," else print "0x00," 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/http_parser.rb-0.6.0/ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
_vendor/ruby/2.6.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser/vendor/http-parser-java/tools/const_char.rb
def printbytes str str.each_byte { |b| print "0x#{b.to_s(16)}, " } end if $0 == __FILE__ printf "static final byte [] #{ARGV[0]} = {\n" printbytes ARGV[0] printf "\n};\n" 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/http_parser.rb-0.6.0/ext/ruby_http_parser/vendor/http-parser-java/tools/byte_constants.rb
_vendor/ruby/2.6.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser/vendor/http-parser-java/tools/byte_constants.rb
"A".upto("Z") {|c| puts "public static final byte #{c} = 0x#{c[0].to_s(16)};" }
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/http_parser.rb-0.6.0/ext/ruby_http_parser/vendor/http-parser-java/tools/parse_tests.rb
_vendor/ruby/2.6.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser/vendor/http-parser-java/tools/parse_tests.rb
# name : 200 trailing space on chunked body # raw : "HTTP/1.1 200 OK\r\nContent-Type: text/plain\r\nTransfer-Encoding: chunked\r\n\r\n25 \r\nThis is the data in the first chunk\r\n\r\n1C\r\nand this is the second one\r\n\r\n0 \r\n\r\n" # type : HTTP_RESPONSE # method: HTTP_DELETE # status code :200 # request_...
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/http_parser.rb-0.6.0/spec/parser_spec.rb
_vendor/ruby/2.6.0/gems/http_parser.rb-0.6.0/spec/parser_spec.rb
require "spec_helper" require "json" describe HTTP::Parser do before do @parser = HTTP::Parser.new @headers = nil @body = "" @started = false @done = false @parser.on_message_begin = proc{ @started = true } @parser.on_headers_complete = proc { |e| @headers = e } @parser.on_body = pr...
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/http_parser.rb-0.6.0/spec/spec_helper.rb
_vendor/ruby/2.6.0/gems/http_parser.rb-0.6.0/spec/spec_helper.rb
require "http_parser"
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/http_parser.rb-0.6.0/lib/http_parser.rb
_vendor/ruby/2.6.0/gems/http_parser.rb-0.6.0/lib/http_parser.rb
$:.unshift File.expand_path('../', __FILE__) require 'ruby_http_parser' Http = HTTP module HTTP class Parser class << self attr_reader :default_header_value_type def default_header_value_type=(val) if (val != :mixed && val != :strings && val != :arrays) raise ArgumentError, "Inval...
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/http_parser.rb-0.6.0/lib/http/parser.rb
_vendor/ruby/2.6.0/gems/http_parser.rb-0.6.0/lib/http/parser.rb
require 'http_parser'
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.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # stdlib require 'pathname' # The containing module for Rouge module Rouge class << self def reload! Object.send :remove_const, :Rouge load __FILE__ end # Highlight some text with a given lexer and formatter. # # @example #...
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/version.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/version.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge def self.version "3.3.0" 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/guesser.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/guesser.rb
# frozen_string_literal: true module Rouge class Guesser class Ambiguous < StandardError attr_reader :alternatives def initialize(alternatives); @alternatives = alternatives; end def message "Ambiguous guess: can't decide between #{alternatives.map(&:tag).inspect}" 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/theme.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/theme.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge class Theme include Token::Tokens class Style < Hash def initialize(theme, hsh={}) super() @theme = theme merge!(hsh) end [:fg, :bg].each do |mode| define_method mode do return 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/lexer.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexer.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # stdlib require 'strscan' require 'cgi' require 'set' module Rouge # @abstract # A lexer transforms text into a stream of `[token, chunk]` pairs. class Lexer include Token::Tokens @option_docs = {} class << self # Lexes `stream` with 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/cli.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/cli.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # not required by the main lib. # to use this module, require 'rouge/cli'. module Rouge class FileReader attr_reader :input def initialize(input) @input = input end def file case input when '-' IO.new($stdin.fileno, '...
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/regex_lexer.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/regex_lexer.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge # @abstract # A stateful lexer that uses sets of regular expressions to # tokenize a string. Most lexers are instances of RegexLexer. class RegexLexer < Lexer # A rule is a tuple of a regular expression to test, and a callback # to 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/token.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/token.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge class Token class << self attr_reader :name attr_reader :parent attr_reader :shortname def cache @cache ||= {} end def sub_tokens @sub_tokens ||= {} end def [](qualname) ...
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/formatter.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/formatter.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge # A Formatter takes a token stream and formats it for human viewing. class Formatter # @private REGISTRY = {} # Specify or get the unique tag for this formatter. This is used # for specifying a formatter in `rougify`. 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/text_analyzer.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/text_analyzer.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge class TextAnalyzer < String # Find a shebang. Returns nil if no shebang is present. def shebang return @shebang if instance_variable_defined? :@shebang self =~ /\A\s*#!(.*)$/ @shebang = $1 end # Check if the giv...
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/template_lexer.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/template_lexer.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge # @abstract # A TemplateLexer is one that accepts a :parent option, to specify # which language is being templated. The lexer class can specify its # own default for the parent lexer, which is otherwise defaulted to # HTML. class Templat...
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/util.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/util.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge class InheritableHash < Hash def initialize(parent=nil) @parent = parent end def [](k) value = super return value if own_keys.include?(k) value || parent[k] end def parent @parent ||= {} 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/plugins/redcarpet.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/plugins/redcarpet.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # this file is not require'd from the root. To use this plugin, run: # # require 'rouge/plugins/redcarpet' module Rouge module Plugins module Redcarpet def block_code(code, language) lexer = Lexer.find_fancy(language, code) || Lexers::Pla...
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/tcl.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/tcl.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class TCL < RegexLexer title "Tcl" desc "The Tool Command Language (tcl.tk)" tag 'tcl' filenames '*.tcl' mimetypes 'text/x-tcl', 'text/x-script.tcl', 'application/x-tcl' def self.detect?(text) ...
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/erlang.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/erlang.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Erlang < RegexLexer title "Erlang" desc "The Erlang programming language (erlang.org)" tag 'erlang' aliases 'erl' filenames '*.erl', '*.hrl' mimetypes 'text/x-erlang', 'application/x-erla...
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/literate_coffeescript.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/literate_coffeescript.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class LiterateCoffeescript < RegexLexer tag 'literate_coffeescript' title "Literate CoffeeScript" desc 'Literate coffeescript' aliases 'litcoffee' filenames '*.litcoffee' def markdown @...
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/docker.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/docker.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Docker < RegexLexer title "Docker" desc "Dockerfile syntax" tag 'docker' aliases 'dockerfile' filenames 'Dockerfile', '*.docker' mimetypes 'text/x-dockerfile-config' KEYWORDS = %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/bsl.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/bsl.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Bsl < RegexLexer title "1C (BSL)" desc "The 1C:Enterprise programming language" tag 'bsl' filenames '*.bsl', '*.os' KEYWORDS = /(?<=[^\wа-яё]|^)(?: КонецПроцедуры | EndPr...
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/fsharp.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/fsharp.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class FSharp < RegexLexer title "FSharp" desc 'F# (fsharp.net)' tag 'fsharp' filenames '*.fs', '*.fsi', '*.fsx' mimetypes 'application/fsharp-script', 'text/x-fsharp', 'text/x-fsi' def self.key...
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/sql.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/sql.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class SQL < RegexLexer title "SQL" desc "Structured Query Language, for relational databases" tag 'sql' filenames '*.sql' mimetypes 'text/x-sql' def self.keywords @keywords ||= 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/io.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/io.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class IO < RegexLexer tag 'io' title "Io" desc 'The IO programming language (http://iolanguage.com)' mimetypes 'text/x-iosrc' filenames '*.io' def self.detect?(text) return true if text...
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/mosel.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/mosel.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Mosel < RegexLexer tag 'mosel' filenames '*.mos' title "Mosel" desc "An optimization language used by Fico's Xpress." # http://www.fico.com/en/products/fico-xpress-optimization-suite file...
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/common_lisp.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/common_lisp.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class CommonLisp < RegexLexer title "Common Lisp" desc "The Common Lisp variant of Lisp (common-lisp.net)" tag 'common_lisp' aliases 'cl', 'common-lisp', 'elisp', 'emacs-lisp' filenames '*.cl', '*.li...
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.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/typescript.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'javascript.rb' load_lexer 'typescript/common.rb' class Typescript < Javascript include TypescriptCommon title "TypeScript" desc "TypeScript, a superset of JavaScript" tag 'typescript'...
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/c.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/c.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class C < RegexLexer tag 'c' filenames '*.c', '*.h', '*.idc' mimetypes 'text/x-chdr', 'text/x-csrc' title "C" desc "The C programming language" # optional comment or whitespace 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/awk.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/awk.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Awk < RegexLexer title "Awk" desc "pattern-directed scanning and processing language" tag 'awk' filenames '*.awk' mimetypes 'application/x-awk' def self.detect?(text) return true...
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/moonscript.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/moonscript.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'lua.rb' class Moonscript < RegexLexer title "MoonScript" desc "Moonscript (http://www.moonscript.org)" tag 'moonscript' aliases 'moon' filenames '*.moon' mimetypes 'text/x-moons...
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/jinja.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/jinja.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Jinja < TemplateLexer title "Jinja" desc "Django/Jinja template engine (jinja.pocoo.org)" tag 'jinja' aliases 'django' mimetypes 'application/x-django-templating', 'application/x-jinja', ...
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/gherkin.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/gherkin.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Gherkin < RegexLexer tag 'gherkin' aliases 'cucumber', 'behat' title "Gherkin" desc 'A business-readable spec DSL ( github.com/cucumber/cucumber/wiki/Gherkin )' filenames '*.feature' mim...
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/nix.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/nix.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Nix < RegexLexer title 'Nix' desc 'The Nix expression language (https://nixos.org/nix/manual/#ch-expression-language)' tag 'nix' aliases 'nixos' filenames '*.nix' state :whitespaces do ...
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/perl.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/perl.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Perl < RegexLexer title "Perl" desc "The Perl scripting language (perl.org)" tag 'perl' aliases 'pl' filenames '*.pl', '*.pm', '*.t' mimetypes 'text/x-perl', 'application/x-perl' ...
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/hylang.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/hylang.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class HyLang < RegexLexer title "HyLang" desc "The HyLang programming language (hylang.org)" tag 'hylang' aliases 'hy' filenames '*.hy' mimetypes 'text/x-hy', 'application/x-hy' 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/python.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/python.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Python < RegexLexer title "Python" desc "The Python programming language (python.org)" tag 'python' aliases 'py' filenames '*.py', '*.pyw', '*.sc', 'SConstruct', 'SConscript', '*.tac' 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/clojure.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/clojure.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Clojure < RegexLexer title "Clojure" desc "The Clojure programming language (clojure.org)" tag 'clojure' aliases 'clj', 'cljs' filenames '*.clj', '*.cljs', '*.cljc', 'build.boot', '*.edn' ...
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/diff.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/diff.rb
# frozen_string_literal: true module Rouge module Lexers class Diff < RegexLexer title 'diff' desc 'Lexes unified diffs or patches' tag 'diff' aliases 'patch', 'udiff' filenames '*.diff', '*.patch' mimetypes 'text/x-diff', 'text/x-patch' def self.detect?(text) ...
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/apiblueprint.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/apiblueprint.rb
# frozen_string_literal: true module Rouge module Lexers load_lexer 'markdown.rb' class APIBlueprint < Markdown title 'API Blueprint' desc 'Markdown based API description language.' tag 'apiblueprint' aliases 'apiblueprint', 'apib' filenames '*.apib' mimetypes 'text/vnd....
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/literate_haskell.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/literate_haskell.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class LiterateHaskell < RegexLexer title "Literate Haskell" desc 'Literate haskell' tag 'literate_haskell' aliases 'lithaskell', 'lhaskell', 'lhs' filenames '*.lhs' mimetypes 'text/x-literate-ha...
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/css.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/css.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class CSS < RegexLexer title "CSS" desc "Cascading Style Sheets, used to style web pages" tag 'css' filenames '*.css' mimetypes 'text/css' identifier = /[a-zA-Z0-9_-]+/ number = /-?(?:[0...
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/plist.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/plist.rb
# frozen_string_literal: true module Rouge module Lexers class Plist < RegexLexer desc 'plist' tag 'plist' aliases 'plist' filenames *%w(*.plist *.pbxproj) mimetypes 'text/x-plist', 'application/x-plist' state :whitespace do rule /\s+/, Text::Whitespace 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/jsonnet.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/jsonnet.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Jsonnet < RegexLexer title 'Jsonnet' desc 'An elegant, formally-specified config language for JSON' tag 'jsonnet' filenames '*.jsonnet' mimetypes 'text/x-jsonnet' 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/terraform.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/terraform.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'hcl.rb' class Terraform < Hcl title "Terraform" desc "Terraform HCL Interpolations" tag 'terraform' aliases 'tf' filenames '*.tf' def self.keywords @keywords ||= Set.n...
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/igorpro.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/igorpro.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class IgorPro < RegexLexer tag 'igorpro' filenames '*.ipf' mimetypes 'text/x-igorpro' title "IgorPro" desc "WaveMetrics Igor Pro" def self.keywords @keywords ||= Set.new %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/dart.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/dart.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Dart < RegexLexer title "Dart" desc "The Dart programming language (dartlang.com)" tag 'dart' filenames '*.dart' mimetypes 'text/x-dart' keywords = %w( as assert break case catch...
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/sass.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/sass.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'sass/common.rb' class Sass < SassCommon include Indentation title "Sass" desc 'The Sass stylesheet language language (sass-lang.com)' tag 'sass' filenames '*.sass' mimetypes '...
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/julia.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/julia.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Julia < RegexLexer title "Julia" desc "The Julia programming language" tag 'julia' aliases 'jl' filenames '*.jl' mimetypes 'text/x-julia', 'application/x-julia' def self.detect?(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/sqf.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/sqf.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class SQF < RegexLexer tag "sqf" filenames "*.sqf" title "SQF" desc "Status Quo Function, a Real Virtuality engine scripting language" def self.wordoperators @wordoperators ||= Set.new %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/ocaml.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/ocaml.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class OCaml < RegexLexer title "OCaml" desc 'Objective Caml (ocaml.org)' tag 'ocaml' filenames '*.ml', '*.mli', '*.mll', '*.mly' mimetypes 'text/x-ocaml' def self.keywords @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/idlang.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/idlang.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # vim: set ts=2 sw=2 et: module Rouge module Lexers class IDLang < RegexLexer title "IDL" desc "Interactive Data Language" tag 'idlang' filenames '*.idl' name = /[_A-Z]\w*/i kind_param = /(\d+|#{name})/ exponent ...
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/jsx.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/jsx.rb
# frozen_string_literal: true module Rouge module Lexers load_lexer 'javascript.rb' class JSX < Javascript title 'JSX' desc 'React JSX (https://facebook.github.io/react/)' tag 'jsx' aliases 'jsx', 'react' filenames '*.jsx' mimetypes 'text/x-jsx', 'application/x-jsx' ...
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/elixir.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/elixir.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers # Direct port of pygments Lexer. # See: https://bitbucket.org/birkenfeld/pygments-main/src/7304e4759ae65343d89a51359ca538912519cc31/pygments/lexers/functional.py?at=default#cl-2362 class Elixir < RegexLexer title "El...
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/mxml.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/mxml.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class MXML < RegexLexer title "MXML" desc "MXML" tag 'mxml' filenames '*.mxml' mimetypes 'application/xv+xml' state :root do rule /[^<&]+/, Text rule /&\S*?;/, Name::Entity ...
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/biml.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/biml.rb
# frozen_string_literal: true module Rouge module Lexers load_lexer 'xml.rb' class BIML < XML title "BIML" desc "BIML, Business Intelligence Markup Language" tag 'biml' filenames '*.biml' def self.detect?(text) return true if text =~ /<\s*Biml\b/ end prepe...
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/racket.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/racket.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Racket < RegexLexer title "Racket" desc "Racket is a Lisp descended from Scheme (racket-lang.org)" tag 'racket' filenames '*.rkt', '*.rktd', '*.rktl' mimetypes 'text/x-racket', 'application/x-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/hack.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/hack.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'php.rb' class Hack < PHP title 'Hack' desc 'The Hack programming language (hacklang.org)' tag 'hack' aliases 'hack', 'hh' filenames '*.php', '*.hh' def self.detect?(text) ...
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/cfscript.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/cfscript.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Cfscript < RegexLexer title "CFScript" desc 'CFScript, the CFML scripting language' tag 'cfscript' aliases 'cfc' filenames '*.cfc' def self.keywords @keywords ||= %w( i...
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/lasso.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/lasso.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true require 'yaml' module Rouge module Lexers class Lasso < TemplateLexer title "Lasso" desc "The Lasso programming language (lassosoft.com)" tag 'lasso' aliases 'lassoscript' filenames '*.lasso', '*.lasso[89]' 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/factor.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/factor.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Factor < RegexLexer title "Factor" desc "Factor, the practical stack language (factorcode.org)" tag 'factor' filenames '*.factor' mimetypes 'text/x-factor' def self.detect?(text) ...
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/d.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/d.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class D < RegexLexer tag 'd' aliases 'dlang' filenames '*.d', '*.di' mimetypes 'application/x-dsrc', 'text/x-dsrc' title "D" desc 'The D programming language(dlang.org)' keywords = %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/toml.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/toml.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class TOML < RegexLexer title "TOML" desc 'the TOML configuration format (https://github.com/mojombo/toml)' tag 'toml' filenames '*.toml' mimetypes 'text/x-toml' identifier = /[\w.\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/xml.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/xml.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class XML < RegexLexer title "XML" desc %q(<desc for="this-lexer">XML</desc>) tag 'xml' filenames *%w(*.xml *.xsl *.rss *.xslt *.xsd *.wsdl *.svg) mimetypes *%w( text/xml application/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/vb.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/vb.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class VisualBasic < RegexLexer title "Visual Basic" desc "Visual Basic" tag 'vb' aliases 'visualbasic' filenames '*.vbs', '*.vb' mimetypes 'text/x-visualbasic', 'application/x-visualbasic' ...
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.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/viml.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class VimL < RegexLexer title "VimL" desc "VimL, the scripting language for the Vim editor (vim.org)" tag 'viml' aliases 'vim', 'vimscript', 'ex' filenames '*.vim', '*.vba', '.vimrc', '.exrc', '.gvimr...
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/ini.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/ini.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class INI < RegexLexer title "INI" desc 'the INI configuration format' tag 'ini' # TODO add more here filenames '*.ini', '*.INI', '*.gitconfig' mimetypes 'text/x-ini' 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/yaml.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/yaml.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class YAML < RegexLexer title "YAML" desc "Yaml Ain't Markup Language (yaml.org)" mimetypes 'text/x-yaml' tag 'yaml' aliases 'yml' filenames '*.yaml', '*.yml' def self.detect?(text) ...
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/qml.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/qml.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'javascript.rb' class Qml < Javascript title "QML" desc 'QML, a UI markup language' tag 'qml' aliases 'qml' filenames '*.qml' mimetypes 'application/x-qml', 'text/x-qml' ...
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/wollok.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/wollok.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Wollok < RegexLexer title 'Wollok' desc 'Wollok lang' tag 'wollok' filenames *%w(*.wlk *.wtest *.wpgm) keywords = %w(new super return if else var const override constructor) entity_name...
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/console.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/console.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class ConsoleLexer < Lexer tag 'console' aliases 'terminal', 'shell_session', 'shell-session' filenames '*.cap' desc 'A generic lexer for shell sessions. Accepts ?lang and ?output lexer options, a ?prompt o...
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/swift.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/swift.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Swift < RegexLexer tag 'swift' filenames '*.swift' title "Swift" desc 'Multi paradigm, compiled programming language developed by Apple for iOS and OS X development. (developer.apple.com/swift)' ...
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/crystal.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/crystal.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Crystal < RegexLexer title "Crystal" desc "Crystal The Programming Language (crystal-lang.org)" tag 'crystal' aliases 'cr' filenames '*.cr' mimetypes 'text/x-crystal', 'application/x-crys...
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/fortran.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/fortran.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true # vim: set ts=2 sw=2 et: # TODO: Implement format list support. module Rouge module Lexers class Fortran < RegexLexer title "Fortran" desc "Fortran 2008 (free-form)" tag 'fortran' filenames '*.f', '*.f90', '*.f95', '*.f03', '*.f08...
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/m68k.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/m68k.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class M68k < RegexLexer tag 'm68k' title "M68k" desc "Motorola 68k Assembler" ws = %r((?:\s|;.*?\n/)+) id = /[a-zA-Z_][a-zA-Z0-9_]*/ def self.keywords @keywords ||= Set.new %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/json.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/json.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class JSON < RegexLexer title 'JSON' desc "JavaScript Object Notation (json.org)" tag 'json' filenames '*.json' mimetypes 'application/json', 'application/vnd.api+json', 'application/h...
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/irb.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/irb.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers load_lexer 'console.rb' class IRBLexer < ConsoleLexer tag 'irb' aliases 'pry' desc 'Shell sessions in IRB or Pry' # unlike the superclass, we do not accept any options @option_docs = {} ...
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/coffeescript.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/coffeescript.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Coffeescript < RegexLexer tag 'coffeescript' aliases 'coffee', 'coffee-script' filenames '*.coffee', 'Cakefile' mimetypes 'text/coffeescript' title "CoffeeScript" desc 'The Coffeescript 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/apache.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/apache.rb
# frozen_string_literal: true require 'yaml' module Rouge module Lexers class Apache < RegexLexer title "Apache" desc 'configuration files for Apache web server' tag 'apache' mimetypes 'text/x-httpd-conf', 'text/x-apache-conf' filenames '.htaccess', 'httpd.conf' class << sel...
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/hcl.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/hcl.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class Hcl < RegexLexer tag 'hcl' title 'Hashicorp Configuration Language' desc 'Hashicorp Configuration Language, used by Terraform and other Hashicorp tools' state :multiline_comment do rule %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/php.rb
_vendor/ruby/2.6.0/gems/rouge-3.3.0/lib/rouge/lexers/php.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Lexers class PHP < TemplateLexer title "PHP" desc "The PHP scripting language (php.net)" tag 'php' aliases 'php', 'php3', 'php4', 'php5' filenames '*.php', '*.php[345t]','*.phtml', # Support ...
ruby
MIT
d8026a4e9cc6348bf38951ee96c523f4ec19f3c4
2026-01-04T17:45:10.474201Z
false