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::Token
Syntaks::Token
Reference
Object
Defined in:
syntaks/token.cr
Constructors
.new
(interval : Syntaks::SourceInterval)
Instance Method Summary
#content
(*args, **options)
#content
(*args, **options, &)
#inspect
(io)
#interval
: SourceInterval
#to_s
(io)
Constructor Detail
def self.
new
(interval :
Syntaks::SourceInterval
)
#
[
View source
]
Instance Method Detail
def
content
(*args, **options)
#
[
View source
]
def
content
(*args, **options, &)
#
[
View source
]
def
inspect
(io)
#
[
View source
]
def
interval
:
SourceInterval
#
[
View source
]
def
to_s
(io)
#
[
View source
]