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_builtins ⇒ Object
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_keywords ⇒ Object
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 |
#builtins ⇒ Object
21 22 23 |
# File 'lib/rouge/lexers/objective_c/common.rb', line 21 def builtins @builtins ||= %w(YES NO nil) end |