Class: Rjq::SourceFragment

Inherits:
Struct
  • Object
show all
Defined in:
lib/rjq/lexer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



5
6
7
# File 'lib/rjq/lexer.rb', line 5

def column
  @column
end

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



5
6
7
# File 'lib/rjq/lexer.rb', line 5

def filename
  @filename
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



5
6
7
# File 'lib/rjq/lexer.rb', line 5

def line
  @line
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



5
6
7
# File 'lib/rjq/lexer.rb', line 5

def source
  @source
end

#start_offsetObject

Returns the value of attribute start_offset

Returns:

  • (Object)

    the current value of start_offset



5
6
7
# File 'lib/rjq/lexer.rb', line 5

def start_offset
  @start_offset
end