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



352
353
354
# File 'lib/hotdog/commands/search.rb', line 352

def dump(options={})
  {}
end

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

Raises:

  • (NotImplementedError)


344
345
346
# File 'lib/hotdog/commands/search.rb', line 344

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

#intermediatesObject



356
357
358
# File 'lib/hotdog/commands/search.rb', line 356

def intermediates()
  []
end

#leafsObject



360
361
362
# File 'lib/hotdog/commands/search.rb', line 360

def leafs()
  [self]
end

#optimize(options = {}) ⇒ Object



348
349
350
# File 'lib/hotdog/commands/search.rb', line 348

def optimize(options={})
  self
end