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

Method CastNode

src/dsql/ExprNodes.cpp:3487–3496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3485static RegisterNode<CastNode> regCastNode({blr_cast});
3486
3487CastNode::CastNode(MemoryPool& pool, ValueExprNode* aSource, dsql_fld* aDsqlField)
3488 : TypedNode<ValueExprNode, ExprNode::TYPE_CAST>(pool),
3489 dsqlAlias("CAST"),
3490 dsqlField(aDsqlField),
3491 source(aSource),
3492 itemInfo(NULL),
3493 artificial(false)
3494{
3495 castDesc.clear();
3496}
3497
3498// Parse a datatype cast.
3499DmlNode* CastNode::parse(thread_db* tdbb, MemoryPool& pool, CompilerScratch* csb, const UCHAR /*blrOp*/)

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected