In Files

  • ruby-3.1.2/lib/racc/grammar.rb

Parent

Methods

Files

Class/Module Index [+]

Quicksearch

Racc::Prec

Attributes

lineno[R]
symbol[R]

Public Class Methods

new(symbol, lineno) click to toggle source
 
               # File ruby-3.1.2/lib/racc/grammar.rb, line 791
def initialize(symbol, lineno)
  @symbol = symbol
  @lineno = lineno
end
            

Public Instance Methods

inspect() click to toggle source
Alias for: name
name() click to toggle source
 
               # File ruby-3.1.2/lib/racc/grammar.rb, line 796
def name
  "=#{@symbol}"
end
            
Also aliased as: inspect