Class: Writeexcel::Node

Inherits:
Object
  • Object
show all
Defined in:
lib/writeexcel/excelformulaparser.rb

Overview

:nodoc:

Direct Known Subclasses

FuncallNode, NumberNode, OperateNode, RootNode

Instance Method Summary collapse

Instance Method Details

#excelformulaparser_error(msg) ⇒ Object


525
526
527
528
# File 'lib/writeexcel/excelformulaparser.rb', line 525

def excelformulaparser_error(msg)
   raise ExcelFormulaParserError,
            "in #{fname}:#{lineno}: #{msg}"
end

#exec_list(nodes) ⇒ Object


519
520
521
522
523
# File 'lib/writeexcel/excelformulaparser.rb', line 519

def exec_list(nodes)
   v = nil
   nodes.each { |i| v = i.evaluate }
   v
end