Class: Racc::OptionMark
Instance Attribute Summary collapse
-
#lineno ⇒ Object
readonly
Returns the value of attribute lineno.
Instance Method Summary collapse
-
#initialize(lineno) ⇒ OptionMark
constructor
A new instance of OptionMark.
- #name ⇒ Object (also: #inspect)
Constructor Details
#initialize(lineno) ⇒ OptionMark
Returns a new instance of OptionMark.
793 794 795 |
# File 'lib/racc/grammar.rb', line 793 def initialize(lineno) @lineno = lineno end |
Instance Attribute Details
#lineno ⇒ Object (readonly)
Returns the value of attribute lineno.
803 804 805 |
# File 'lib/racc/grammar.rb', line 803 def lineno @lineno end |
Instance Method Details
#name ⇒ Object Also known as: inspect
797 798 799 |
# File 'lib/racc/grammar.rb', line 797 def name '?' end |