Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Obelisk::LanguageContext
Inherits
Reference
<
Object
Embedded language context management
Constructors
new
(language :
String
, start_pos :
Int32
, end_pos :
Int32
|
Nil
= nil, parent_context :
LanguageContext
|
Nil
= nil, nesting_level :
Int32
= 0, context_data :
Hash
(
String
,
String
) = {} of
String
=>
String
)
Source
Instance methods
active?
Source
close
(end_pos :
Int32
) :
LanguageContext
Source
content
(text :
String
) :
String
Source
context_data
Source
end_pos
Source
language
Source
nesting_level
Source
parent_context
Source
size
Source
start_pos
Source