class Rouge::Lexers::Cpp
Public Class Methods
Source
# File lib/rouge/lexers/cpp.rb, line 22 def self.keywords @keywords ||= super + Set.new(%w( and and_eq asm bitand bitor catch compl concept consteval constinit const_cast co_await co_return co_yield decltype delete dynamic_cast explicit export final friend import module mutable namespace new noexcept not not_eq operator or or_eq override private protected public reinterpret_cast requires size_of static_cast this throw throws try typeid typename using virtual xor xor_eq )) end
Calls superclass method
Rouge::Lexers::C::keywords
Source
# File lib/rouge/lexers/cpp.rb, line 34 def self.keywords_type @keywords_type ||= super + Set.new(%w( char8_t )) end
Calls superclass method
Rouge::Lexers::C::keywords_type
Source
# 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
Calls superclass method
Rouge::Lexers::C::reserved