MCPcopy Create free account
hub / github.com/SpartanJ/eepp / getShorthandParser

Method getShorthandParser

src/eepp/ui/css/stylesheetspecification.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60ShorthandParserFunc StyleSheetSpecification::getShorthandParser( const std::string& name ) {
61 if ( mShorthandParsers.find( name ) == mShorthandParsers.end() ) {
62 Log::error( "Shorthand parser \"%s\" not found.", name.c_str() );
63 return mShorthandParsers["empty"];
64 }
65 return mShorthandParsers[name];
66}
67
68DrawableImageParser& StyleSheetSpecification::getDrawableImageParser() {
69 return mDrawableImageParser;

Callers 1

parseMethod · 0.80

Calls 4

errorFunction · 0.85
c_strMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected