Lines Matching refs:error
31 std::string* error) { in parseTypeTokens() argument
61 if (error != NULL) { in parseTypeTokens()
62 *error = "Unexpected empty token !?"; in parseTypeTokens()
71 if (error != NULL) { in parseTypeTokens()
74 *error = "Empty parameter declaration!"; in parseTypeTokens()
82 *error = "Unexpected '*' before type name"; in parseTypeTokens()
120 std::string* error) { in parseTypeDeclaration() argument
126 if (!parseTypeTokens(input, &tokens, error)) { in parseTypeDeclaration()
138 *error = "Missing type name"; in parseTypeDeclaration()
150 std::string* error) { in parseParameterDeclaration() argument
153 if (!parseTypeTokens(param, &tokens, error)) { in parseParameterDeclaration()
165 *error = "Missing type name"; in parseParameterDeclaration()
169 *error = "Missing variable name"; in parseParameterDeclaration()
176 *error = "Extra '*' after variable name"; in parseParameterDeclaration()
180 *error = "Extra 'const' after variable name"; in parseParameterDeclaration()