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


8
9
10
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 8

def char_no
  @char_no
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind


8
9
10
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 8

def kind
  @kind
end

#line_noObject

Returns the value of attribute line_no

Returns:

  • (Object)

    the current value of line_no


8
9
10
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 8

def line_no
  @line_no
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state


8
9
10
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 8

def state
  @state
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text


8
9
10
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 8

def text
  @text
end