Class: Racc::Prec
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/racc/grammar.rb |
Class Method Summary
- .new(symbol, lineno) ⇒ Prec constructor
Instance Attribute Summary
Instance Method Summary
Constructor Details
.new(symbol, lineno) ⇒ Prec
Instance Attribute Details
#lineno (readonly)
[ GitHub ]# File 'lib/racc/grammar.rb', line 880
attr_reader :lineno
#symbol (readonly)
[ GitHub ]# File 'lib/racc/grammar.rb', line 879
attr_reader :symbol
Instance Method Details
#inspect
Alias for #name.
# File 'lib/racc/grammar.rb', line 877
alias inspect name
#name Also known as: #inspect
[ GitHub ]# File 'lib/racc/grammar.rb', line 873
def name "=#{@symbol}" end