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.
778 779 780 |
# File 'lib/racc/grammar.rb', line 778 def initialize(lineno) @lineno = lineno end |
Instance Attribute Details
#lineno ⇒ Object (readonly)
Returns the value of attribute lineno.
788 789 790 |
# File 'lib/racc/grammar.rb', line 788 def lineno @lineno end |
Instance Method Details
#name ⇒ Object Also known as: inspect
782 783 784 |
# File 'lib/racc/grammar.rb', line 782 def name '|' end |