Class: Racc::OrMark
Instance Attribute Summary collapse
-
#lineno ⇒ Object
readonly
Returns the value of attribute lineno.
Instance Method Summary collapse
-
#initialize(lineno) ⇒ OrMark
constructor
A new instance of OrMark.
- #name ⇒ Object (also: #inspect)
Constructor Details
#initialize(lineno) ⇒ OrMark
Returns a new instance of OrMark.
773 774 775 |
# File 'lib/racc/grammar.rb', line 773 def initialize(lineno) @lineno = lineno end |
Instance Attribute Details
#lineno ⇒ Object (readonly)
Returns the value of attribute lineno.
783 784 785 |
# File 'lib/racc/grammar.rb', line 783 def lineno @lineno end |
Instance Method Details
#name ⇒ Object Also known as: inspect
777 778 779 |
# File 'lib/racc/grammar.rb', line 777 def name '|' end |