class

Obelisk::Lexers::C

Inherits Obelisk::RegexLexer < Obelisk::Lexer < Reference < Object

C/C++ language lexer

Instance methods

analyze(text : String) : Float32

Analyze text to determine if this lexer can handle it Returns a score from 0.0 to 1.0

Source
config
Source
rules
Source
state_rules(state : String) : Array(LexerRule)

Override to handle raw string literals dynamically

Source