Class: Hotdog::Commands::Search::ExpressionNode

Inherits:
Object
  • Object
show all
Defined in:
lib/hotdog/commands/search.rb

Instance Method Summary collapse

Instance Method Details

#dump(options = {}) ⇒ Object



329
330
331
# File 'lib/hotdog/commands/search.rb', line 329

def dump(options={})
  {}
end

#evaluate(environment, options = {}) ⇒ Object

Raises:

  • (NotImplementedError)


321
322
323
# File 'lib/hotdog/commands/search.rb', line 321

def evaluate(environment, options={})
  raise(NotImplementedError.new("must be overridden"))
end

#intermediatesObject



333
334
335
# File 'lib/hotdog/commands/search.rb', line 333

def intermediates()
  []
end

#leafsObject



337
338
339
# File 'lib/hotdog/commands/search.rb', line 337

def leafs()
  [self]
end

#optimize(options = {}) ⇒ Object



325
326
327
# File 'lib/hotdog/commands/search.rb', line 325

def optimize(options={})
  self
end