Class: OpenUSD::Format::Usda::Lexer::Token

Inherits:
Data
  • Object
show all
Defined in:
lib/openusd/format/usda/lexer.rb

Overview

One lexeme and its source location.

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject (readonly)

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



12
13
14
# File 'lib/openusd/format/usda/lexer.rb', line 12

def column
  @column
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



12
13
14
# File 'lib/openusd/format/usda/lexer.rb', line 12

def line
  @line
end

#rawObject (readonly)

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



12
13
14
# File 'lib/openusd/format/usda/lexer.rb', line 12

def raw
  @raw
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



12
13
14
# File 'lib/openusd/format/usda/lexer.rb', line 12

def type
  @type
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



12
13
14
# File 'lib/openusd/format/usda/lexer.rb', line 12

def value
  @value
end