Obelisk::ComposedLexer
Inherits Obelisk::Lexer < Reference < Object
Framework for composing multiple lexers together
Constructors
new(name : String, lexers : Array(Lexer), strategy : Obelisk::CompositionStrategy = CompositionStrategy::FirstMatch)
SourceInstance methods
Analyze text to determine if this lexer can handle it Returns a score from 0.0 to 1.0
config
Source