Class: Node

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

Direct Known Subclasses

FuncallNode, NumberNode, OperateNode, RootNode

Instance Method Summary collapse

Instance Method Details

#excelformulaparser_error(msg) ⇒ Object



509
510
511
512
# File 'lib/WriteExcel/excelformulaparser.rb', line 509

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

#exec_list(nodes) ⇒ Object



503
504
505
506
507
# File 'lib/WriteExcel/excelformulaparser.rb', line 503

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