/external/javassist/src/main/javassist/compiler/ast/ |
D | Declarator.java | 24 public class Declarator extends ASTList implements TokenId { class 30 public Declarator(int type, int dim) { in Declarator() method in Declarator 38 public Declarator(ASTList className, int dim) { in Declarator() method in Declarator 48 public Declarator(int type, String jvmClassName, int dim, in Declarator() method in Declarator 59 public Declarator make(Symbol sym, int dim, ASTree init) { in make() 60 Declarator d = new Declarator(this.varType, this.arrayDim + dim); in make()
|
D | Variable.java | 24 protected Declarator declarator; 26 public Variable(String sym, Declarator d) { in Variable() 31 public Declarator getDeclarator() { return declarator; } in getDeclarator()
|
D | FieldDecl.java | 27 public Declarator getDeclarator() { return (Declarator)tail().head(); } in getDeclarator()
|
D | MethodDecl.java | 34 public Declarator getReturn() { return (Declarator)tail().head(); } in getReturn()
|
D | Visitor.java | 32 public void atDeclarator(Declarator n) throws CompileError {} in atDeclarator()
|
/external/javassist/src/main/javassist/compiler/ |
D | SymbolTable.java | 19 import javassist.compiler.ast.Declarator; 33 public Declarator lookup(String name) { in lookup() 34 Declarator found = (Declarator)get(name); in lookup() 41 public void append(String name, Declarator value) { in append()
|
D | Parser.java | 44 Declarator d; in parseMember1() 47 d = new Declarator(VOID, 0); in parseMember1() 75 Declarator d) throws CompileError in parseField() 104 ASTList mods, Declarator d) in parseMethod1() 183 private Declarator parseFormalType(SymbolTable tbl) throws CompileError { in parseFormalType() 188 return new Declarator(t, dim); in parseFormalType() 193 return new Declarator(name, dim); in parseFormalType() 204 private Declarator parseFormalParam(SymbolTable tbl) in parseFormalParam() 207 Declarator d = parseFormalType(tbl); in parseFormalParam() 480 Declarator d = parseFormalParam(tbl2); in parseTry() [all …]
|
D | JvstCodeGen.java | 514 Declarator decl in recordParams() 515 = new Declarator(CLASS, MemberResolver.javaToJvmName(target), in recordParams() 559 Declarator decl in recordVar() 560 = new Declarator(exprType, className, arrayDim, in recordVar() 590 Declarator decl in recordVariable() 591 = new Declarator(type, cname, dim, varNo, new Symbol(varName)); in recordVariable()
|
D | MemberCodeGen.java | 221 Declarator decl = (Declarator)p.getLeft(); in atTryStmnt() 326 atNewArrayExpr2(type, sizeExpr, Declarator.astToClassName(classname, '/'), init); in atNewArrayExpr() 1108 params[i++] = resolver.lookupClass((Declarator)plist.head()); in makeParamList()
|
D | MemberResolver.java | 326 return lookupClass(Declarator.astToClassName(name, '.'), false); in lookupClassByName() 333 public CtClass lookupClass(Declarator decl) throws CompileError { in lookupClass()
|
D | Javac.java | 131 Declarator d = fd.getDeclarator(); in compileField() 161 Declarator r = md.getReturn(); in compileMethod()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 48 static bool isOmittedBlockReturnType(const Declarator &D) { in isOmittedBlockReturnType() 49 if (D.getContext() != Declarator::BlockLiteralContext || in isOmittedBlockReturnType() 145 Declarator &declarator; 166 TypeProcessingState(Sema &sema, Declarator &declarator) in TypeProcessingState() 175 Declarator &getDeclarator() const { in getDeclarator() 325 static DeclaratorChunk *maybeMovePastReturnType(Declarator &declarator, in maybeMovePastReturnType() 396 Declarator &declarator = state.getDeclarator(); in distributeObjCPointerTypeAttr() 454 Declarator &declarator = state.getDeclarator(); in distributeObjCPointerTypeAttrFromDeclarator() 516 Declarator &declarator = state.getDeclarator(); in distributeFunctionTypeAttr() 550 Declarator &declarator = state.getDeclarator(); in distributeFunctionTypeAttrToInnermost() [all …]
|
/external/clang/include/clang/Basic/ |
D | DeclNodes.td | 41 def Declarator : DDecl<Value, 1>; 42 def Field : DDecl<Declarator>; 45 def MSProperty : DDecl<Declarator>; 46 def Function : DDecl<Declarator>, DeclContext; 51 def Var : DDecl<Declarator>; 58 def NonTypeTemplateParm : DDecl<Declarator>;
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 1253 bool isStartOfFunctionDefinition(const ParsingDeclarator &Declarator); 1266 void ParseKNRParamDeclarations(Declarator &D); 1384 ParsedType ParseObjCTypeName(ObjCDeclSpec &DS, Declarator::TheContext Ctx, 1593 Declarator &D); 1594 void ParseDirectNewDeclarator(Declarator &D); 1840 Decl *ParseDeclarationAfterDeclarator(Declarator &D, 1842 bool ParseAsmAttributesAfterDeclarator(Declarator &D); 1844 Declarator &D, 1874 Declarator::TheContext Context); 2070 Declarator::TheContext Context [all …]
|
/external/clang/lib/Parse/ |
D | ParseDecl.cpp | 45 Declarator::TheContext Context, in ParseTypeName() 62 Declarator DeclaratorInfo(DS, Context); in ParseTypeName() 127 Declarator *D) { in ParseGNUAttributes() 342 Declarator *D) { in ParseGNUAttributeArgs() 1600 return Context == Declarator::MemberContext && getLangOpts().CPlusPlus11 && in MightBeDeclarator() 1604 return Context == Declarator::MemberContext || getLangOpts().CPlusPlus; in MightBeDeclarator() 1630 return Context == Declarator::MemberContext || in MightBeDeclarator() 1631 (getLangOpts().CPlusPlus && Context == Declarator::FileContext); in MightBeDeclarator() 1734 ParsingDeclarator D(*this, DS, static_cast<Declarator::TheContext>(Context)); in ParseDeclGroup() 1781 if (Context == Declarator::FileContext) { in ParseDeclGroup() [all …]
|
D | RAIIObjectsForParser.h | 200 class ParsingDeclarator : public Declarator { 205 : Declarator(DS, C), ParsingRAII(P, &DS.getDelayedDiagnosticPool()) { in ParsingDeclarator() 209 return static_cast<const ParsingDeclSpec&>(Declarator::getDeclSpec()); in getDeclSpec() 217 Declarator::clear(); in clear()
|
D | ParseObjc.cpp | 394 Declarator &D, in addContextSensitiveTypeNullability() 1151 Declarator::TheContext Context) { in ParseObjCTypeQualifierList() 1152 assert(Context == Declarator::ObjCParameterContext || in ParseObjCTypeQualifierList() 1153 Context == Declarator::ObjCResultContext); in ParseObjCTypeQualifierList() 1158 Context == Declarator::ObjCParameterContext); in ParseObjCTypeQualifierList() 1235 Declarator &D) { in takeDeclAttributes() 1253 Declarator::TheContext context, in ParseObjCTypeName() 1255 assert(context == Declarator::ObjCParameterContext || in ParseObjCTypeName() 1256 context == Declarator::ObjCResultContext); in ParseObjCTypeName() 1258 (context == Declarator::ObjCParameterContext)); in ParseObjCTypeName() [all …]
|
D | Parser.cpp | 750 return ParseDeclaration(Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 760 return ParseDeclaration(Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 771 return ParseDeclaration(Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 780 return ParseDeclaration(Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 795 ParseExplicitInstantiation(Declarator::FileContext, in ParseExternalDeclaration() 837 bool Parser::isStartOfFunctionDefinition(const ParsingDeclarator &Declarator) { in isStartOfFunctionDefinition() argument 838 assert(Declarator.isFunctionDeclarator() && "Isn't a function declarator"); in isStartOfFunctionDefinition() 844 Declarator.getFunctionTypeInfo().isKNRPrototype()) in isStartOfFunctionDefinition() 936 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); in ParseDeclOrFunctionDefInternal() 940 return ParseDeclGroup(DS, Declarator::FileContext); in ParseDeclOrFunctionDefInternal() [all …]
|
D | ParseTemplate.cpp | 190 if (Context == Declarator::MemberContext) { in ParseSingleDeclarationAfterTemplate() 234 ParsingDeclarator DeclaratorInfo(*this, DS, (Declarator::TheContext)Context); in ParseSingleDeclarationAfterTemplate() 255 if (Context != Declarator::FileContext) { in ParseSingleDeclarationAfterTemplate() 546 Declarator::TemplateTypeArgContext).get(); in ParseTypeParameter() 678 Declarator ParamDecl(DS, Declarator::TemplateParamContext); in ParseNonTypeTemplateParameter() 729 Declarator &D) { in DiagnoseMisplacedEllipsisInDeclarator() 1195 Declarator::TemplateTypeArgContext); in ParseTemplateArgument()
|
D | ParseExprCXX.cpp | 1125 Declarator D(DS, Declarator::LambdaExprContext); in ParseLambdaExpressionAfterIntroducer() 1366 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCXXCasts() 1671 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCXXTypeConstructExpression() 1773 Declarator::InitStmtContext, DeclEnd, attrs, /*RequireSemi=*/true); in ParseCXXCondition() 1789 Declarator DeclaratorInfo(DS, Declarator::ConditionContext); in ParseCXXCondition() 2417 Declarator D(DS, Declarator::ConversionIdContext); in ParseUnqualifiedIdOperator() 2707 Declarator DeclaratorInfo(DS, Declarator::CXXNewContext); in ParseCXXNewExpression() 2819 void Parser::ParseDirectNewDeclarator(Declarator &D) { in ParseDirectNewDeclarator() 2869 Declarator &D) { in ParseExpressionListOrTypeId() 3183 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCXXAmbiguousParenExpression()
|
D | ParseExpr.cpp | 939 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCastExpression() 1146 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCastExpression() 1755 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseExprAfterUnaryExprOrTypeTrait() 2310 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseParenExpression() 2744 Declarator DeclaratorInfo(DS, Declarator::BlockLiteralContext); in ParseBlockId() 2782 Declarator ParamInfo(DS, Declarator::BlockLiteralContext); in ParseBlockLiteralExpression()
|
D | ParseDeclCXX.cpp | 544 if (getLangOpts().CPlusPlus11 && Context == Declarator::MemberContext && in ParseUsingDeclaration() 625 ? Declarator::AliasTemplateContext in ParseUsingDeclaration() 626 : Declarator::AliasDeclContext, in ParseUsingDeclaration() 963 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseBaseTypeSpecifier() 1063 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseBaseTypeSpecifier() 1963 void Parser::HandleMemberFunctionDeclDelays(Declarator& DeclaratorInfo, in HandleMemberFunctionDeclDelays() 2092 Declarator &DeclaratorInfo, VirtSpecifiers &VS, ExprResult &BitfieldSize, in ParseCXXMemberDeclaratorBeforeInitializer() 2163 Declarator &D, in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq() 2347 Declarator::MemberContext, DeclEnd, AS, AccessAttrs))); in ParseCXXClassMemberDeclaration() 2384 Declarator::MemberContext, TemplateInfo, UsingLoc, DeclEnd, AS))); in ParseCXXClassMemberDeclaration() [all …]
|
/external/clang/include/clang/AST/ |
D | TemplateBase.h | 383 TypeSourceInfo *Declarator; member 389 TemplateArgumentLocInfo(TypeSourceInfo *TInfo) : Declarator(TInfo) {} in TemplateArgumentLocInfo() 404 return Declarator; in getAsTypeSourceInfo()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1295 TypeSourceInfo *GetTypeForDeclarator(Declarator &D, Scope *S); 1296 TypeSourceInfo *GetTypeForDeclaratorCast(Declarator &D, QualType FromTy); 1297 TypeSourceInfo *GetTypeSourceInfoForDeclarator(Declarator &D, QualType T, 1302 DeclarationNameInfo GetNameForDeclarator(Declarator &D); 1333 TypeResult ActOnTypeName(Scope *S, Declarator &D); 1668 Decl *ActOnDeclarator(Scope *S, Declarator &D); 1670 NamedDecl *HandleDeclarator(Scope *S, Declarator &D, 1706 NamedDecl* ActOnTypedefDeclarator(Scope* S, Declarator& D, DeclContext* DC, 1711 NamedDecl *ActOnVariableDeclarator(Scope *S, Declarator &D, DeclContext *DC, 1722 NamedDecl* ActOnFunctionDeclarator(Scope* S, Declarator& D, DeclContext* DC, [all …]
|
D | DeclSpec.h | 48 class Declarator; variable 1548 Declarator &TheDeclarator, 1624 class Declarator { 1714 Declarator(const DeclSpec &ds, TheContext C) in Declarator() function 1724 ~Declarator() { in ~Declarator() 2107 return const_cast<Declarator*>(this)->getFunctionTypeInfo(); in getFunctionTypeInfo() 2269 Declarator D; 2272 : D(DS, Declarator::MemberContext), BitfieldSize(nullptr) { } in FieldDeclarator()
|