Sha256: dfbb38817ba69a52b060f186a2d9bd9b5237d35ab2c9db385e44fa4b838d1f5d

Contents?: true

Size: 321 Bytes

Versions: 357

Compression:

Stored size: 321 Bytes

Contents

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

Version data entries

357 entries across 312 versions & 43 rubygems

Version Path
less-1.1.5 lib/vendor/treetop/lib/treetop/runtime/terminal_syntax_node.rb
less-1.1.6 lib/vendor/treetop/lib/treetop/runtime/terminal_syntax_node.rb
less-1.1.7 lib/vendor/treetop/lib/treetop/runtime/terminal_syntax_node.rb
less-1.1.8 lib/vendor/treetop/lib/treetop/runtime/terminal_syntax_node.rb
less-1.1.9 lib/vendor/treetop/lib/treetop/runtime/terminal_syntax_node.rb
less-1.1.10 lib/vendor/treetop/lib/treetop/runtime/terminal_syntax_node.rb
less-1.1.11 lib/vendor/treetop/lib/treetop/runtime/terminal_syntax_node.rb
less-1.1.12 lib/vendor/treetop/lib/treetop/runtime/terminal_syntax_node.rb
mack-0.8.3.1 lib/gems/treetop-1.2.4/lib/treetop/runtime/terminal_syntax_node.rb
mack-0.8.3 lib/gems/treetop-1.2.4/lib/treetop/runtime/terminal_syntax_node.rb
treetop-1.2.0 lib/treetop/runtime/terminal_syntax_node.rb
treetop-1.2.6 lib/treetop/runtime/terminal_syntax_node.rb
treetop-1.2.5 lib/treetop/runtime/terminal_syntax_node.rb
treetop-1.2.4 lib/treetop/runtime/terminal_syntax_node.rb
treetop-1.2.3 lib/treetop/runtime/terminal_syntax_node.rb
treetop-1.2.2 lib/treetop/runtime/terminal_syntax_node.rb
treetop-1.2.1 lib/treetop/runtime/terminal_syntax_node.rb