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

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

Instance Method Summary collapse

Instance Method Details

#begin_posObject



18
19
20
# File 'lib/opal/rewriters/base.rb', line 18

def begin_pos
  0
end

#columnObject



34
35
36
# File 'lib/opal/rewriters/base.rb', line 34

def column
  0
end

#end_posObject



22
23
24
# File 'lib/opal/rewriters/base.rb', line 22

def end_pos
  0
end

#expressionObject



14
15
16
# File 'lib/opal/rewriters/base.rb', line 14

def expression
  self
end

#last_lineObject



38
39
40
# File 'lib/opal/rewriters/base.rb', line 38

def last_line
  Float::INFINITY
end

#lineObject



30
31
32
# File 'lib/opal/rewriters/base.rb', line 30

def line
  0
end

#node=Object



10
11
12
# File 'lib/opal/rewriters/base.rb', line 10

def node=(*)
  # stub
end

#sourceObject



26
27
28
# File 'lib/opal/rewriters/base.rb', line 26

def source
  ''
end