MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ArithmeticNode

Method ArithmeticNode

src/dsql/ExprNodes.cpp:586–597  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584static RegisterNode<ArithmeticNode> regArithmeticNode({blr_add, blr_subtract, blr_multiply, blr_divide});
585
586ArithmeticNode::ArithmeticNode(MemoryPool& pool, UCHAR aBlrOp, bool aDialect1,
587 ValueExprNode* aArg1, ValueExprNode* aArg2)
588 : TypedNode<ValueExprNode, ExprNode::TYPE_ARITHMETIC>(pool),
589 label(pool),
590 arg1(aArg1),
591 arg2(aArg2),
592 blrOp(aBlrOp),
593 dialect1(aDialect1)
594{
595 label = getCompatDialectVerb();
596 label.upper();
597}
598
599DmlNode* ArithmeticNode::parse(thread_db* tdbb, MemoryPool& pool, CompilerScratch* csb, const UCHAR blrOp)
600{

Callers

nothing calls this directly

Calls 1

upperMethod · 0.80

Tested by

no test coverage detected