Sha256: 18d1bc48cf9424791c24f5576f29c4f6a8f7f9209e548301b5985407072fb1e3

Contents?: true

Size: 505 Bytes

Versions: 4

Compression:

Stored size: 505 Bytes

Contents

# -*- coding: utf-8 -*- #
# frozen_string_literal: true

module Rouge
  module Lexers
    load_lexer 'c.rb'
    load_lexer 'objective_c/common.rb'

    class ObjectiveC < C
      extend ObjectiveCCommon

      tag 'objective_c'
      title "Objective-C"
      desc 'an extension of C commonly used to write Apple software'
      aliases 'objc', 'obj-c', 'obj_c', 'objectivec', 'objective-c'
      filenames '*.m', '*.h'

      mimetypes 'text/x-objective_c', 'application/x-objective_c'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rouge-4.5.1 lib/rouge/lexers/objective_c.rb
rouge-4.5.0 lib/rouge/lexers/objective_c.rb
rouge-4.4.0 lib/rouge/lexers/objective_c.rb
rouge-4.3.0 lib/rouge/lexers/objective_c.rb