Class: CodeModels::SourceInfo
- Inherits:
-
Object
- Object
- CodeModels::SourceInfo
- Defined in:
- lib/codemodels/language.rb
Instance Attribute Summary collapse
-
#begin_pos ⇒ Object
Returns the value of attribute begin_pos.
-
#end_pos ⇒ Object
Returns the value of attribute end_pos.
-
#filename ⇒ Object
Returns the value of attribute filename.
Instance Method Summary collapse
Instance Attribute Details
#begin_pos ⇒ Object
Returns the value of attribute begin_pos.
25 26 27 |
# File 'lib/codemodels/language.rb', line 25 def begin_pos @begin_pos end |
#end_pos ⇒ Object
Returns the value of attribute end_pos.
25 26 27 |
# File 'lib/codemodels/language.rb', line 25 def end_pos @end_pos end |
#filename ⇒ Object
Returns the value of attribute filename.
24 25 26 |
# File 'lib/codemodels/language.rb', line 24 def filename @filename end |
Instance Method Details
#to_code ⇒ Object
27 28 29 |
# File 'lib/codemodels/language.rb', line 27 def to_code raise "Unimplemented" end |