lib/treetop/runtime/terminal_syntax_node.rb
module Treetop module Runtime class TerminalSyntaxNode < SyntaxNode def initialize(input, interval) super(input, interval, []) end def inspect(indent="") indent+ self.class.to_s.sub(/.*:/,'') + " offset=#{interval.first}" + " #{text_value.inspect}" end end end end