123456789_123456789_123456789_123456789_123456789_

Class: Racc::OptionMark

Relationships & Source Files
Inherits: Object
Defined in: lib/racc/grammar.rb

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

.new(lineno) ⇒ OptionMark

[ GitHub ]

  
# File 'lib/racc/grammar.rb', line 793

def initialize(lineno)
  @lineno = lineno
end

Instance Attribute Details

#lineno (readonly)

[ GitHub ]

  
# File 'lib/racc/grammar.rb', line 803

attr_reader :lineno

Instance Method Details

#inspect

Alias for #name.

[ GitHub ]

  
# File 'lib/racc/grammar.rb', line 801

alias inspect name

#name Also known as: #inspect

[ GitHub ]

  
# File 'lib/racc/grammar.rb', line 797

def name
  '?'
end