class Rouge::Lexers::Cpp
Public Class Methods
Source
# File lib/rouge/lexers/cpp.rb, line 22 def self.keywords @keywords ||= super + Set.new(%w( asm auto catch char8_t concept consteval constexpr constinit const_cast co_await co_return co_yield delete dynamic_cast explicit export friend mutable namespace new operator private protected public reinterpret_cast requires restrict size_of static_cast this throw throws typeid typename using virtual final override import module alignas alignof decltype noexcept static_assert thread_local try )) end
Calls superclass method
Rouge::Lexers::C::keywords
Source
# File lib/rouge/lexers/cpp.rb, line 36 def self.keywords_type @keywords_type ||= super + Set.new(%w( bool )) end
Calls superclass method
Rouge::Lexers::C::keywords_type
Source
# File lib/rouge/lexers/cpp.rb, line 42 def self.reserved @reserved ||= super + Set.new(%w( __virtual_inheritance __uuidof __super __single_inheritance __multiple_inheritance __interface __event )) end
Calls superclass method
Rouge::Lexers::C::reserved