Class: Opal::Rewriters::Base::DummyLocation

Inherits:
Object
  • Object
show all
Defined in:
opal/lib/opal/rewriters/base.rb

Instance Method Summary collapse

Instance Method Details

#begin_posObject



16
17
18
# File 'opal/lib/opal/rewriters/base.rb', line 16

def begin_pos
  0
end

#columnObject



32
33
34
# File 'opal/lib/opal/rewriters/base.rb', line 32

def column
  0
end

#end_posObject



20
21
22
# File 'opal/lib/opal/rewriters/base.rb', line 20

def end_pos
  0
end

#expressionObject



12
13
14
# File 'opal/lib/opal/rewriters/base.rb', line 12

def expression
  self
end

#last_lineObject



36
37
38
# File 'opal/lib/opal/rewriters/base.rb', line 36

def last_line
  Float::INFINITY
end

#lineObject



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

#sourceObject



24
25
26
# File 'opal/lib/opal/rewriters/base.rb', line 24

def source
  ''
end