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

Method parseConstant

extern/cloop/src/cloop/Parser.cpp:268–278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268void Parser::parseConstant(const TypeRef& typeRef, const string& name)
269{
270 Constant* constant = new Constant();
271 interface->constants.push_back(constant);
272
273 constant->typeRef = typeRef;
274 constant->name = name;
275 constant->expr = parseExpr();
276
277 getToken(token, TOKEN(';'));
278}
279
280Action* Parser::parseAction(DefAction::DefType dt)
281{

Callers

nothing calls this directly

Calls 2

getTokenFunction · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected