/usr/lib/ruby/vendor_ruby/treetop/runtime/terminal_syntax_node.rb is in ruby-treetop 1.4.10-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 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
|