Class: Rjq::SourceFragment
- Inherits:
-
Struct
- Object
- Struct
- Rjq::SourceFragment
- Defined in:
- lib/rjq/lexer.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#line ⇒ Object
Returns the value of attribute line.
-
#source ⇒ Object
Returns the value of attribute source.
-
#start_offset ⇒ Object
Returns the value of attribute start_offset.
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column
5 6 7 |
# File 'lib/rjq/lexer.rb', line 5 def column @column end |
#filename ⇒ Object
Returns the value of attribute filename
5 6 7 |
# File 'lib/rjq/lexer.rb', line 5 def filename @filename end |
#line ⇒ Object
Returns the value of attribute line
5 6 7 |
# File 'lib/rjq/lexer.rb', line 5 def line @line end |
#source ⇒ Object
Returns the value of attribute source
5 6 7 |
# File 'lib/rjq/lexer.rb', line 5 def source @source end |
#start_offset ⇒ Object
Returns the value of attribute start_offset
5 6 7 |
# File 'lib/rjq/lexer.rb', line 5 def start_offset @start_offset end |