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

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

Overview

:stopdoc:

Instance Attribute Summary collapse

Instance Attribute Details

#char_noObject

Returns the value of attribute char_no

Returns:

  • (Object)

    the current value of char_no



10
11
12
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 10

def char_no
  @char_no
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



10
11
12
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 10

def kind
  @kind
end

#line_noObject

Returns the value of attribute line_no

Returns:

  • (Object)

    the current value of line_no



10
11
12
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 10

def line_no
  @line_no
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



10
11
12
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 10

def state
  @state
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



10
11
12
# File 'lib/rdoc/parser/ripper_state_lex.rb', line 10

def text
  @text
end