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::Success(V)
Syntaks::Success(V)
Reference
Object
Defined in:
syntaks/parse_result.cr
Constructors
.new
(state : Syntaks::State, end_state : Syntaks::State, value : V)
Instance Method Summary
#end_state
: State
#inspect
(io)
#state
: State
#value
: V
Constructor Detail
def self.
new
(state :
Syntaks::State
, end_state :
Syntaks::State
, value : V)
#
[
View source
]
Instance Method Detail
def
end_state
:
State
#
[
View source
]
def
inspect
(io)
#
[
View source
]
def
state
:
State
#
[
View source
]
def
value
: V
#
[
View source
]