Class: RDoc::Parser::RipperStateLex::Token

Inherits:
Struct
  • Object
show all
Defined in:
lib/rdoc/parser/ripper_state_lex.rb

Instance Attribute Summary collapse

Instance Attribute Details

#char_noObject

Returns the value of attribute char_no

Returns:

  • (Object)

    the current value of char_no



13
14
15
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 13

def char_no
  @char_no
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



13
14
15
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 13

def kind
  @kind
end

#line_noObject

Returns the value of attribute line_no

Returns:

  • (Object)

    the current value of line_no



13
14
15
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 13

def line_no
  @line_no
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



13
14
15
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 13

def state
  @state
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



13
14
15
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 13

def text
  @text
end