class Syntaks::EBNF::ProfilingContext
- Syntaks::EBNF::ProfilingContext
- Syntaks::EBNF::Context
- Reference
- Object
Defined in:
syntaks/ebnf/contexts.crInstance Method Summary
- #end_component_call(rule : Component, state : State, result : Success | Failure | Error)
- #rule_names : Hash(UInt64, String)
- #stack : Array(RuleInvocation)
- #start_component_call(rule : Component, state : State)
- #timings : Hash(UInt64, Stats)
-
#to_s(io : IO)
Appends a short String representation of this object which includes its class name and its object address.
Instance methods inherited from class Syntaks::EBNF::Context
end_component_call(rule : Component, state : State, result : Success | Failure | Error)
end_component_call,
start_component_call(rule : Component, state : State)
start_component_call
Instance Method Detail
def to_s(io : IO)
#
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>