class Syntaks::EBNF::ProfilingContext

Defined in:

syntaks/ebnf/contexts.cr

Instance Method Summary

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 end_component_call(rule : Component, state : State, result : Success | Failure | Error) #

[View source]
def rule_names : Hash(UInt64, String) #

[View source]
def stack : Array(RuleInvocation) #

[View source]
def start_component_call(rule : Component, state : State) #

[View source]
def timings : Hash(UInt64, Stats) #

[View source]
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>

[View source]