Class: Racc::Many1Mark

Inherits:
Object show all
Defined in:
lib/racc/grammar.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lineno) ⇒ Many1Mark

Returns a new instance of Many1Mark.



823
824
825
# File 'lib/racc/grammar.rb', line 823

def initialize(lineno)
  @lineno = lineno
end

Instance Attribute Details

#linenoObject (readonly)

Returns the value of attribute lineno.



833
834
835
# File 'lib/racc/grammar.rb', line 833

def lineno
  @lineno
end

Instance Method Details

#nameObject Also known as: inspect



827
828
829
# File 'lib/racc/grammar.rb', line 827

def name
  '+'
end