RegexLexer
high priority for filename matches
# File lib/rouge/lexers/c.rb, line 51 def self.analyze_text(*) 0.3 end
# File lib/rouge/lexers/c.rb, line 55 def self.builtins @builtins ||= [] end
# File lib/rouge/lexers/c.rb, line 14 def self.keywords @keywords ||= Set.new %( auto break case const continue default do else enum extern for goto if register restricted return sizeof static struct switch typedef union volatile virtual while ) end
# File lib/rouge/lexers/c.rb, line 22 def self.keywords_type @keywords_type ||= Set.new %( int long float short double char unsigned signed void jmp_buf FILE DIR div_t ldiv_t mbstate_t sig_atomic_t fpos_t clock_t time_t va_list size_t ssize_t off_t wchar_t ptrdiff_t wctrans_t wint_t wctype_t _Bool _Complex int8_t int16_t int32_t int64_t uint8_t uint16_t uint32_t uint64_t int_least8_t int_least16_t int_least32_t int_least64_t uint_least8_t uint_least16_t uint_least32_t uint_least64_t int_fast8_t int_fast16_t int_fast32_t int_fast64_t uint_fast8_t uint_fast16_t uint_fast32_t uint_fast64_t intptr_t uintptr_t intmax_t uintmax_t ) end
# File lib/rouge/lexers/c.rb, line 41 def self.reserved @reserved ||= Set.new %( __asm __int8 __based __except __int16 __stdcall __cdecl __fastcall __int32 __declspec __finally __int61 __try __leave inline _inline __inline naked _naked __naked restrict _restrict __restrict thread _thread __thread typename _typename __typename ) end
Generated with the Darkfish Rdoc Generator 2.