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

Function GEN_hidden_variables

src/dsql/gen.cpp:68–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66
67
68void GEN_hidden_variables(DsqlCompilerScratch* dsqlScratch)
69{
70/**************************************
71 *
72 * G E N _ h i d d e n _ v a r i a b l e s
73 *
74 **************************************
75 *
76 * Function
77 * Emit BLR for hidden variables.
78 *
79 **************************************/
80
81 for (const auto var : dsqlScratch->hiddenVariables)
82 {
83 dsqlScratch->appendUChar(blr_dcl_variable);
84 dsqlScratch->appendUShort(var->number);
85 GEN_descriptor(dsqlScratch, &var->desc, true);
86 }
87
88 // Clear it for GEN_expr not regenerate them.
89 dsqlScratch->hiddenVariables.clear();
90}
91
92
93/**

Callers 2

GEN_statementFunction · 0.85
genBlrMethod · 0.85

Calls 4

GEN_descriptorFunction · 0.85
appendUCharMethod · 0.80
appendUShortMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected