class Rouge::Lexers::Cpp

Public Class Methods

keywords() click to toggle source
Calls superclass method Rouge::Lexers::C.keywords
# File lib/rouge/lexers/cpp.rb, line 20
def self.keywords
  @keywords ||= super + Set.new(%w(
    asm catch const_cast delete dynamic_cast explicit export
    friend mutable namespace new operator private protected public
    reinterpret_cast restrict static_cast template this throw
    throws typeid typename using virtual
  ))
end
reserved() click to toggle source
Calls superclass method Rouge::Lexers::C.reserved
# File lib/rouge/lexers/cpp.rb, line 29
def self.reserved
  @reserved ||= super + Set.new(%w(
    __virtual_inheritance __uuidof __super __single_inheritance
    __multiple_inheritance __interface __event
  ))
end