Class: SQLPP::Tokenizer::Token

Inherits:
Struct
  • Object
show all
Defined in:
lib/sqlpp/tokenizer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#posObject

Returns the value of attribute pos

Returns:

  • (Object)

    the current value of pos



9
10
11
# File 'lib/sqlpp/tokenizer.rb', line 9

def pos
  @pos
end

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



9
10
11
# File 'lib/sqlpp/tokenizer.rb', line 9

def text
  @text
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



9
10
11
# File 'lib/sqlpp/tokenizer.rb', line 9

def type
  @type
end