class Rley::SPPF::LeafNode
Abstract class. The generalization for SPPF
nodes that don’t have child node.
Public Instance Methods
Source
# File lib/rley/sppf/leaf_node.rb, line 11 def inspect key end
@return [String] a text representation of the node.
Source
# File lib/rley/sppf/leaf_node.rb, line 16 def key @key ||= to_string(0) end
@return [String]