Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Codespan::Files
Inherits
Reference
<
Object
Constructors
new
Source
Instance methods
add
(name :
String
, source :
String
) :
FileId
Source
line_index
(file_id :
FileId
, byte_index :
ByteIndex
|
Int
) :
LineIndex
Source
line_span
(file_id :
FileId
, line_index :
LineIndex
|
Int
) :
Span
Source
location
(file_id :
FileId
, byte_index :
ByteIndex
|
Int
) :
Location
Source
name
(file_id :
FileId
) :
String
Source
source
(file_id :
FileId
) :
String
Source
source_slice
(file_id :
FileId
, span :
Span
) :
String
Source
source_span
(file_id :
FileId
) :
Span
Source
update
(file_id :
FileId
, source :
String
) :
Nil
Source