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 22
def self.keywords
  @keywords ||= super + Set.new(%w(
    asm auto catch const_cast delete dynamic_cast explicit export friend
    mutable namespace new operator private protected public
    reinterpret_cast restrict size_of static_cast this throw throws
    typeid typename using virtual final override

    alignas alignof constexpr decltype noexcept static_assert
    thread_local try
  ))
end
keywords_type() click to toggle source
Calls superclass method Rouge::Lexers::C::keywords_type
# File lib/rouge/lexers/cpp.rb, line 34
def self.keywords_type
  @keywords_type ||= super + Set.new(%w(
    bool
  ))
end
reserved() click to toggle source
Calls superclass method Rouge::Lexers::C::reserved
# File lib/rouge/lexers/cpp.rb, line 40
def self.reserved
  @reserved ||= super + Set.new(%w(
    __virtual_inheritance __uuidof __super __single_inheritance
    __multiple_inheritance __interface __event
  ))
end