Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
syntaks
v0.3.2
Syntaks
EBNF
AbstractComponent
Alt
Component
Context
EmptyContext
LoggingContext
NonTerminal
NotPredicate
Opt
ProfilingContext
RuleInvocation
Stats
Rep
Seq
Terminal
Matcher
Error
Failure
Highlighter
Command
ParseLog
End
Kind
Entry
Start
Parser
Source
SourceInterval
SourceLocation
State
Success
Token
Built with Crystal 1.9.2
2023-10-08 14:39:57 UTC
class
Syntaks::SourceLocation
Syntaks::SourceLocation
Reference
Object
Included Modules
Kontrakt
Defined in:
syntaks/source_location.cr
Constructors
.new
(source : Syntaks::Source, at : Int32)
Instance Method Summary
#at
: Int32
#column_number
#line
#line_end
#line_number
#line_start
#source
: Source
#to_s
(io)
Constructor Detail
def self.
new
(source :
Syntaks::Source
, at : Int32)
#
[
View source
]
Instance Method Detail
def
at
: Int32
#
[
View source
]
def
column_number
#
[
View source
]
def
line
#
[
View source
]
def
line_end
#
[
View source
]
def
line_number
#
[
View source
]
def
line_start
#
[
View source
]
def
source
:
Source
#
[
View source
]
def
to_s
(io)
#
[
View source
]