Searched refs:methodParser (Results 1 – 2 of 2) sorted by relevance
422 TextParser methodParser(fFileName, fStart, end, fLineCount); in checkMethod() local423 methodParser.skipWhiteSpace(); in checkMethod()424 SkASSERT(methodParser.startsWith("#Method")); in checkMethod()425 methodParser.skipName("#Method"); in checkMethod()426 methodParser.skipSpace(); in checkMethod()432 bool expectReturn = this->methodHasReturn(name, &methodParser); in checkMethod()444 return methodParser.reportError<bool>("no #Return expected"); in checkMethod()447 return methodParser.reportError<bool>("multiple #Return markers"); in checkMethod()452 return methodParser.reportError<bool>("missing #Return marker"); in checkMethod()454 const char* paren = methodParser.strnchr('(', methodParser.fEnd); in checkMethod()[all …]
172 bool methodHasReturn(string name, TextParser* methodParser) const;174 bool nextMethodParam(TextParser* methodParser, const char** nextEndPtr,