Class: Racc::GroupStartMark

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lineno) ⇒ GroupStartMark

Returns a new instance of GroupStartMark.



838
839
840
# File 'lib/racc/grammar.rb', line 838

def initialize(lineno)
  @lineno = lineno
end

Instance Attribute Details

#linenoObject (readonly)

Returns the value of attribute lineno.



848
849
850
# File 'lib/racc/grammar.rb', line 848

def lineno
  @lineno
end

Instance Method Details

#nameObject Also known as: inspect



842
843
844
# File 'lib/racc/grammar.rb', line 842

def name
  '('
end