Class: Racc::ManyMark

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(lineno) ⇒ ManyMark

Returns a new instance of ManyMark.



808
809
810
# File 'lib/racc/grammar.rb', line 808

def initialize(lineno)
  @lineno = lineno
end

Instance Attribute Details

#linenoObject (readonly)

Returns the value of attribute lineno.



818
819
820
# File 'lib/racc/grammar.rb', line 818

def lineno
  @lineno
end

Instance Method Details

#nameObject Also known as: inspect



812
813
814
# File 'lib/racc/grammar.rb', line 812

def name
  '*'
end