class Cabbage::Set(T)
- Cabbage::Set(T)
- Reference
- Object
Defined in:
cabbage/set.crConstructors
Instance Method Summary
- #add_item(tag, start)
- #append_item(tag, start)
- #each_wanted_for(tag, &)
- #grammar : Grammar(T)
- #grammar=(grammar : Grammar(T))
- #has_item?(key)
- #index : Hash(Tuple(LR0(T) | GrammarSymbol, Int32), Item(T))
- #index=(index : Hash(Tuple(LR0(T) | GrammarSymbol, Int32), Item(T)))
- #item(tag, start)
- #items : Array(Item(T))
- #items=(items : Array(Item(T)))
- #position : Int32
- #position=(position : Int32)
- #predict(sym)
- #process
- #process_range(start, stop)
- #register_item(tag_pair, item)
- #scan(sym)
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #wants : Hash(GrammarSymbol, Array(Item(T)))
- #wants=(wants : Hash(GrammarSymbol, Array(Item(T))))
Constructor Detail
Instance Method Detail
def to_s
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.