Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Obelisk::LexerConfig
Inherits
Struct
<
Value
<
Object
Configuration for a lexer
Constructors
new
(name :
String
, aliases :
Array
(
String
) = [] of
String
, filenames :
Array
(
String
) = [] of
String
, mime_types :
Array
(
String
) = [] of
String
, case_insensitive :
Bool
= false, dot_all :
Bool
= false, not_multiline :
Bool
= false, ensure_nl :
Bool
= false, priority :
Float32
= 0.0_f32)
Source
Instance methods
aliases
Source
case_insensitive
Source
dot_all
Source
ensure_nl
Source
filenames
Source
mime_types
Source
name
Source
not_multiline
Source
priority
Source