Sha256: b7de340c9717b989c95ca404339c08b557810ea619f99931b6d85fc5e99c1cb3

Contents?: true

Size: 490 Bytes

Versions: 28

Compression:

Stored size: 490 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'
      filenames '*.m', '*.h'

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

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
rouge-3.22.0 lib/rouge/lexers/objective_c.rb
rouge-3.21.0 lib/rouge/lexers/objective_c.rb
rouge-3.20.0 lib/rouge/lexers/objective_c.rb
rouge-3.19.0 lib/rouge/lexers/objective_c.rb
rouge-3.18.0 lib/rouge/lexers/objective_c.rb
rouge-3.17.0 lib/rouge/lexers/objective_c.rb
rouge-3.16.0 lib/rouge/lexers/objective_c.rb
rouge-3.15.0 lib/rouge/lexers/objective_c.rb