Class: IOSParser::Token

Inherits:
Struct
  • Object
show all
Defined in:
lib/ios_parser/token.rb

Instance Attribute Summary collapse

Instance Attribute Details

#colObject

Returns the value of attribute col

Returns:

  • (Object)

    the current value of col



2
3
4
# File 'lib/ios_parser/token.rb', line 2

def col
  @col
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



2
3
4
# File 'lib/ios_parser/token.rb', line 2

def line
  @line
end

#posObject

Returns the value of attribute pos

Returns:

  • (Object)

    the current value of pos



2
3
4
# File 'lib/ios_parser/token.rb', line 2

def pos
  @pos
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



2
3
4
# File 'lib/ios_parser/token.rb', line 2

def value
  @value
end