Class: Rjq::AST::SourceSpan

Inherits:
Struct
  • Object
show all
Defined in:
lib/rjq/ast.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/ast.rb', line 5

def column
  @column
end

#end_offsetObject

Returns the value of attribute end_offset

Returns:

  • (Object)

    the current value of end_offset



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

def end_offset
  @end_offset
end

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename



5
6
7
# File 'lib/rjq/ast.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/ast.rb', line 5

def line
  @line
end

#start_offsetObject

Returns the value of attribute start_offset

Returns:

  • (Object)

    the current value of start_offset



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

def start_offset
  @start_offset
end