Module: Rouge::Lexers::ObjectiveCCommon

Included in:
ObjectiveC, ObjectiveCpp
Defined in:
lib/rouge/lexers/objective_c/common.rb

Instance Method Summary collapse

Instance Method Details

#at_builtinsObject



17
18
19
# File 'lib/rouge/lexers/objective_c/common.rb', line 17

def at_builtins
  @at_builtins ||= %w(true false YES NO)
end

#at_keywordsObject



9
10
11
12
13
14
15
# File 'lib/rouge/lexers/objective_c/common.rb', line 9

def at_keywords
  @at_keywords ||= %w(
    selector private protected public encode synchronized try
    throw catch finally end property synthesize dynamic optional
    interface implementation import autoreleasepool
  )
end

#builtinsObject



21
22
23
# File 'lib/rouge/lexers/objective_c/common.rb', line 21

def builtins
  @builtins ||= %w(YES NO nil)
end