Obelisk::PriorityLexerRegistry
Enhanced lexer registry with priority-based selection
Constructors
Instance methods
all
Sourcemeets_threshold?(lexer_name : String, text : String, threshold : Float32 = 0.5_f32, filename : String | Nil = nil, mime_type : String | Nil = nil) : Bool
Sourcenames
Sourceregister(lexer : Lexer) : Nil
Sourceselect_best(text : String, filename : String | Nil = nil, mime_type : String | Nil = nil) : SelectionResult | Nil
Priority-based selection methods