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

Class DeclareLocalTableNode

src/dsql/StmtNodes.h:336–372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334
335
336class DeclareLocalTableNode final : public TypedNode<StmtNode, StmtNode::TYPE_DECLARE_LOCAL_TABLE>
337{
338public:
339 struct Impure
340 {
341 RecordBuffer* recordBuffer;
342 };
343
344public:
345 explicit DeclareLocalTableNode(MemoryPool& pool)
346 : TypedNode<StmtNode, StmtNode::TYPE_DECLARE_LOCAL_TABLE>(pool)
347 {
348 }
349
350public:
351 static DmlNode* parse(thread_db* tdbb, MemoryPool& pool, CompilerScratch* csb, const UCHAR blrOp);
352
353 Firebird::string internalPrint(NodePrinter& printer) const override;
354 DeclareLocalTableNode* dsqlPass(DsqlCompilerScratch* dsqlScratch) override;
355 void genBlr(DsqlCompilerScratch* dsqlScratch) override;
356 DeclareLocalTableNode* copy(thread_db* tdbb, NodeCopier& copier) const override;
357
358 DeclareLocalTableNode* pass1(thread_db* tdbb, CompilerScratch* csb) override
359 {
360 return this;
361 }
362
363 DeclareLocalTableNode* pass2(thread_db* tdbb, CompilerScratch* csb) override;
364 const StmtNode* execute(thread_db* tdbb, Request* request, ExeState* exeState) const override;
365
366public:
367 Impure* getImpure(thread_db* tdbb, Request* request, bool createWhenDead = true) const;
368
369public:
370 NestConst<Format> format;
371 USHORT tableNumber = 0;
372};
373
374
375class DeclareSubFuncNode final : public TypedNode<StmtNode, StmtNode::TYPE_DECLARE_SUBFUNC>

Callers 2

parseMethod · 0.70
copyMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected