Lines Matching refs:declarator
358 TFunctionDeclarator declarator; in acceptDeclaration() local
359 acceptAttributes(declarator.attributes); in acceptDeclaration()
377 … if (! acceptFullySpecifiedType(declaredType, nodeList, declarator.attributes, forbidDeclarators)) in acceptDeclaration()
398 … parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType, true); in acceptDeclaration()
404 declarator.function = new TFunction(fullName, declaredType); in acceptDeclaration()
405 if (!acceptFunctionParameters(*declarator.function)) { in acceptDeclaration()
411 acceptPostDecls(declarator.function->getWritableType().getQualifier()); in acceptDeclaration()
414 declarator.loc = token.loc; in acceptDeclaration()
420 return acceptFunctionDefinition(declarator, nodeList, nullptr); in acceptDeclaration()
424 parseContext.handleFunctionDeclarator(declarator.loc, *declarator.function, true); in acceptDeclaration()
431 parseContext.transferTypeAttributes(token.loc, declarator.attributes, declaredType); in acceptDeclaration()
2484 TFunctionDeclarator& declarator) in acceptMemberFunctionDefinition() argument
2490 declarator.function = new TFunction(functionName, type); in acceptMemberFunctionDefinition()
2492 declarator.function->setImplicitThis(); in acceptMemberFunctionDefinition()
2494 declarator.function->setIllegalImplicitThis(); in acceptMemberFunctionDefinition()
2497 if (acceptFunctionParameters(*declarator.function)) { in acceptMemberFunctionDefinition()
2499 acceptPostDecls(declarator.function->getWritableType().getQualifier()); in acceptMemberFunctionDefinition()
2503 declarator.loc = token.loc; in acceptMemberFunctionDefinition()
2504 declarator.body = new TVector<HlslToken>; in acceptMemberFunctionDefinition()
2505 accepted = acceptFunctionDefinition(declarator, nodeList, declarator.body); in acceptMemberFunctionDefinition()
2657 bool HlslGrammar::acceptFunctionDefinition(TFunctionDeclarator& declarator, TIntermNode*& nodeList, in acceptFunctionDefinition() argument
2660 …parseContext.handleFunctionDeclarator(declarator.loc, *declarator.function, false /* not prototype… in acceptFunctionDefinition()
2665 return acceptFunctionBody(declarator, nodeList); in acceptFunctionDefinition()
2668 bool HlslGrammar::acceptFunctionBody(TFunctionDeclarator& declarator, TIntermNode*& nodeList) in acceptFunctionBody() argument
2674 …TIntermNode* functionNode = parseContext.handleFunctionDefinition(declarator.loc, *declarator.func… in acceptFunctionBody()
2675 … declarator.attributes, entryPointNode); in acceptFunctionBody()
2683 … parseContext.handleFunctionBody(declarator.loc, *declarator.function, functionBody, functionNode); in acceptFunctionBody()