Class: Ripper::Lexer::Elem

Inherits:
Struct
  • Object
show all
Defined in:
lib/ripper/lexer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#eventObject

Returns the value of attribute event

Returns:

  • (Object)

    the current value of event



48
49
50
# File 'lib/ripper/lexer.rb', line 48

def event
  @event
end

#posObject

Returns the value of attribute pos

Returns:

  • (Object)

    the current value of pos



48
49
50
# File 'lib/ripper/lexer.rb', line 48

def pos
  @pos
end

#tokObject

Returns the value of attribute tok

Returns:

  • (Object)

    the current value of tok



48
49
50
# File 'lib/ripper/lexer.rb', line 48

def tok
  @tok
end