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

Method parseCallAction

extern/cloop/src/cloop/Parser.cpp:319–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319Action* Parser::parseCallAction()
320{
321 CallAction act;
322
323 act.name = getToken(token, Token::TYPE_IDENTIFIER).text;
324
325 getToken(token, TOKEN('('));
326 do
327 {
328 act.addParam(getToken(token, Token::TYPE_IDENTIFIER).text);
329 } while(lexer->getToken(token).type == ',');
330
331 if (token.type == ')')
332 return new CallAction(act);
333
334 syntaxError(token);
335}
336
337Action* Parser::parseDefAction(DefAction::DefType dt)
338{

Callers

nothing calls this directly

Calls 2

addParamMethod · 0.80
getTokenFunction · 0.50

Tested by

no test coverage detected