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

Class InitVariableNode

src/dsql/StmtNodes.h:764–790  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762
763
764class InitVariableNode final : public TypedNode<StmtNode, StmtNode::TYPE_INIT_VARIABLE>
765{
766public:
767 explicit InitVariableNode(MemoryPool& pool)
768 : TypedNode<StmtNode, StmtNode::TYPE_INIT_VARIABLE>(pool),
769 varId(0),
770 varDecl(NULL),
771 varInfo(NULL)
772 {
773 }
774
775public:
776 static DmlNode* parse(thread_db* tdbb, MemoryPool& pool, CompilerScratch* csb, const UCHAR blrOp);
777
778 virtual Firebird::string internalPrint(NodePrinter& printer) const;
779 virtual InitVariableNode* dsqlPass(DsqlCompilerScratch* dsqlScratch);
780 virtual void genBlr(DsqlCompilerScratch* dsqlScratch);
781 virtual InitVariableNode* copy(thread_db* tdbb, NodeCopier& copier) const;
782 virtual InitVariableNode* pass1(thread_db* tdbb, CompilerScratch* csb);
783 virtual InitVariableNode* pass2(thread_db* tdbb, CompilerScratch* csb);
784 virtual const StmtNode* execute(thread_db* tdbb, Request* request, ExeState* exeState) const;
785
786public:
787 USHORT varId;
788 NestConst<DeclareVariableNode> varDecl;
789 NestConst<ItemInfo> varInfo;
790};
791
792
793class ExecBlockNode final : public TypedNode<DsqlOnlyStmtNode, StmtNode::TYPE_EXEC_BLOCK>

Callers 2

parseMethod · 0.85
copyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected