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::Highlighter::Command
Syntaks::Highlighter::Command
Reference
Object
Defined in:
syntaks/highlighter.cr
Constructors
.new
(from : Int32, to : Int32, foreground : Symbol, background : Symbol)
Instance Method Summary
#background
: Symbol
#foreground
: Symbol
#from
: Int32
#to
: Int32
Constructor Detail
def self.
new
(from : Int32, to : Int32, foreground : Symbol, background : Symbol)
#
[
View source
]
Instance Method Detail
def
background
: Symbol
#
[
View source
]
def
foreground
: Symbol
#
[
View source
]
def
from
: Int32
#
[
View source
]
def
to
: Int32
#
[
View source
]