Class: Opal::Rewriters::Base::DummyLocation
- Inherits:
-
Object
- Object
- Opal::Rewriters::Base::DummyLocation
- Defined in:
- opal/lib/opal/rewriters/base.rb
Instance Method Summary collapse
- #begin_pos ⇒ Object
- #column ⇒ Object
- #end_pos ⇒ Object
- #expression ⇒ Object
- #last_line ⇒ Object
- #line ⇒ Object
- #node= ⇒ Object
- #source ⇒ Object
Instance Method Details
#begin_pos ⇒ Object
16 17 18 |
# File 'opal/lib/opal/rewriters/base.rb', line 16 def begin_pos 0 end |
#column ⇒ Object
32 33 34 |
# File 'opal/lib/opal/rewriters/base.rb', line 32 def column 0 end |
#end_pos ⇒ Object
20 21 22 |
# File 'opal/lib/opal/rewriters/base.rb', line 20 def end_pos 0 end |
#expression ⇒ Object
12 13 14 |
# File 'opal/lib/opal/rewriters/base.rb', line 12 def expression self end |
#last_line ⇒ Object
36 37 38 |
# File 'opal/lib/opal/rewriters/base.rb', line 36 def last_line Float::INFINITY end |
#line ⇒ Object
28 29 30 |
# File 'opal/lib/opal/rewriters/base.rb', line 28 def line 0 end |
#node= ⇒ Object
9 10 |
# File 'opal/lib/opal/rewriters/base.rb', line 9 def node=(*) end |
#source ⇒ Object
24 25 26 |
# File 'opal/lib/opal/rewriters/base.rb', line 24 def source '' end |