Lines Matching refs:Parser
10 // This file implements the Objective-C portions of the Parser interface.
14 #include "clang/Parse/Parser.h"
28 void Parser::MaybeSkipAttributes(tok::ObjCKeywordKind Kind) {
48 Parser::DeclGroupPtrTy Parser::ParseObjCAtDirectives() {
99 class Parser::ObjCTypeParamListScope {
131 Parser::DeclGroupPtrTy
132 Parser::ParseObjCAtClassDeclaration(SourceLocation atLoc) {
168 void Parser::CheckNestedObjCContexts(SourceLocation AtLoc)
216 Decl *Parser::ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc,
393 static void addContextSensitiveTypeNullability(Parser &P,
446 ObjCTypeParamList *Parser::parseObjCTypeParamListOrProtocolRefs(
596 ObjCTypeParamList *Parser::parseObjCTypeParamList() {
619 void Parser::ParseObjCInterfaceDeclList(tok::ObjCKeywordKind contextKey,
815 static void diagnoseRedundantPropertyNullability(Parser &P,
857 void Parser::ParseObjCPropertyAttribute(ObjCDeclSpec &DS) {
998 Decl *Parser::ParseObjCMethodPrototype(tok::ObjCKeywordKind MethodImplKind,
1019 IdentifierInfo *Parser::ParseObjCSelectorPiece(SourceLocation &SelectorLoc) {
1123 bool Parser::isTokIdentifier_in() const {
1150 void Parser::ParseObjCTypeQualifierList(ObjCDeclSpec &DS,
1252 ParsedType Parser::ParseObjCTypeName(ObjCDeclSpec &DS,
1346 Decl *Parser::ParseObjCMethodDecl(SourceLocation mLoc,
1543 bool Parser::
1587 TypeResult Parser::parseObjCProtocolQualifierType(SourceLocation &rAngleLoc) {
1615 void Parser::parseObjCTypeArgsOrProtocolQualifiers(
1794 void Parser::parseObjCTypeArgsAndProtocolQualifiers(
1845 TypeResult Parser::parseObjCTypeArgsAndProtocolQualifiers(
1884 void Parser::HelperActionsForIvarDeclarations(Decl *interfaceDecl, SourceLocation atLoc,
1921 void Parser::ParseObjCClassInstanceVariables(Decl *interfaceDecl,
2025 Parser::DeclGroupPtrTy
2026 Parser::ParseObjCAtProtocolDeclaration(SourceLocation AtLoc,
2115 Parser::DeclGroupPtrTy
2116 Parser::ParseObjCAtImplementationDeclaration(SourceLocation AtLoc) {
2252 Parser::DeclGroupPtrTy
2253 Parser::ParseObjCAtEndDeclaration(SourceRange atEnd) {
2265 Parser::ObjCImplParsingDataRAII::~ObjCImplParsingDataRAII() {
2279 void Parser::ObjCImplParsingDataRAII::finish(SourceRange AtEnd) {
2306 Decl *Parser::ParseObjCAtAliasDeclaration(SourceLocation atLoc) {
2338 Decl *Parser::ParseObjCPropertySynthesize(SourceLocation atLoc) {
2394 Decl *Parser::ParseObjCPropertyDynamic(SourceLocation atLoc) {
2455 StmtResult Parser::ParseObjCThrowStmt(SourceLocation atLoc) {
2474 Parser::ParseObjCSynchronizedStmt(SourceLocation atLoc) {
2533 StmtResult Parser::ParseObjCTryStmt(SourceLocation atLoc) {
2637 Parser::ParseObjCAutoreleasePoolStmt(SourceLocation atLoc) {
2658 void Parser::StashAwayMethodOrFunctionBodyTokens(Decl *MDecl) {
2702 Decl *Parser::ParseObjCMethodDefinition() {
2744 StmtResult Parser::ParseObjCAtStatement(SourceLocation AtLoc) {
2783 ExprResult Parser::ParseObjCAtExpression(SourceLocation AtLoc) {
2904 bool Parser::ParseObjCXXMessageReceiver(bool &IsExpr, void *&TypeOrExpr) {
2972 /// \brief Determine whether the parser is currently referring to a an
2977 bool Parser::isSimpleObjCMessageExpression() {
2984 bool Parser::isStartOfObjCClassMessageMissingOpenBracket() {
3021 ExprResult Parser::ParseObjCMessageExpression() {
3156 Parser::ParseObjCMessageExpressionBody(SourceLocation LBracLoc,
3322 ExprResult Parser::ParseObjCStringLiteral(SourceLocation AtLoc) {
3356 ExprResult Parser::ParseObjCBooleanLiteral(SourceLocation AtLoc,
3365 ExprResult Parser::ParseObjCCharacterLiteral(SourceLocation AtLoc) {
3379 ExprResult Parser::ParseObjCNumericLiteral(SourceLocation AtLoc) {
3392 Parser::ParseObjCBoxedExpr(SourceLocation AtLoc) {
3413 ExprResult Parser::ParseObjCArrayLiteral(SourceLocation AtLoc) {
3447 ExprResult Parser::ParseObjCDictionaryLiteral(SourceLocation AtLoc) {
3505 Parser::ParseObjCEncodeExpression(SourceLocation AtLoc) {
3530 Parser::ParseObjCProtocolExpression(SourceLocation AtLoc) {
3554 ExprResult Parser::ParseObjCSelectorExpression(SourceLocation AtLoc) {
3619 void Parser::ParseLexedObjCMethodDefs(LexedMethod &LM, bool parseMethod) {