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

Method parseTypedef

extern/cloop/src/cloop/Parser.cpp:190–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190void Parser::parseTypedef()
191{
192 Typedef* typeDef = new Typedef();
193
194 typeDef->name = getToken(token, Token::TYPE_IDENTIFIER).text;
195 typesByName.insert(pair<string, BaseType*>(typeDef->name, typeDef));
196
197 getToken(token, TOKEN(';'));
198}
199
200void Parser::parseItem()
201{

Callers

nothing calls this directly

Calls 2

getTokenFunction · 0.50
insertMethod · 0.45

Tested by

no test coverage detected