class Cabbage::DerivationNode(T)
- Cabbage::DerivationNode(T)
- Reference
- Object
Included Modules
Defined in:
cabbage/derivation.crConstructors
Instance Method Summary
Instance methods inherited from module Cabbage::Derivation(T)
add_another_derivation(previous, child)
add_another_derivation,
add_derivation(previous, child)
add_derivation,
add_second_derivation(previous, child)
add_second_derivation,
child : Item(T) | DerivationNode(T) | Nil
child,
child=(child : Item(T) | DerivationNode(T) | Nil)
child=,
derivation_list?
derivation_list?,
evaluate(prev, &)
evaluate,
next_derivation : Item(T) | DerivationNode(T) | Nil
next_derivation,
next_derivation=(next_derivation : Item(T) | DerivationNode(T) | Nil)
next_derivation=,
previous : Item(T) | DerivationNode(T) | Nil
previous,
previous=(previous : Item(T) | DerivationNode(T) | Nil)
previous=,
rhs
rhs,
same?(previous, child)
same?,
walk
walk
Constructor Detail
def self.new(previous : Cabbage::DerivationNode(T) | Cabbage::Item(T) | Nil, child : Cabbage::DerivationNode(T) | Cabbage::Item(T) | Nil, next_derivation : Cabbage::DerivationNode(T) | Cabbage::Item(T) | Nil)
#