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
18 19 20 |
# File 'opal/lib/opal/rewriters/base.rb', line 18 def begin_pos 0 end |
#column ⇒ Object
34 35 36 |
# File 'opal/lib/opal/rewriters/base.rb', line 34 def column 0 end |
#end_pos ⇒ Object
22 23 24 |
# File 'opal/lib/opal/rewriters/base.rb', line 22 def end_pos 0 end |
#expression ⇒ Object
14 15 16 |
# File 'opal/lib/opal/rewriters/base.rb', line 14 def expression self end |
#last_line ⇒ Object
38 39 40 |
# File 'opal/lib/opal/rewriters/base.rb', line 38 def last_line Float::INFINITY end |
#line ⇒ Object
30 31 32 |
# File 'opal/lib/opal/rewriters/base.rb', line 30 def line 0 end |
#node= ⇒ Object
10 11 12 |
# File 'opal/lib/opal/rewriters/base.rb', line 10 def node=(*) # stub end |
#source ⇒ Object
26 27 28 |
# File 'opal/lib/opal/rewriters/base.rb', line 26 def source '' end |