/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/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/clang/lib/Sema/ |
D | SemaType.cpp | 47 static bool isOmittedBlockReturnType(const Declarator &D) { in isOmittedBlockReturnType() 48 if (D.getContext() != Declarator::BlockLiteralContext || in isOmittedBlockReturnType() 131 Declarator &declarator; 152 TypeProcessingState(Sema &sema, Declarator &declarator) in TypeProcessingState() 161 Declarator &getDeclarator() const { in getDeclarator() 310 static DeclaratorChunk *maybeMovePastReturnType(Declarator &declarator, in maybeMovePastReturnType() 372 Declarator &declarator = state.getDeclarator(); in distributeObjCPointerTypeAttr() 426 Declarator &declarator = state.getDeclarator(); in distributeObjCPointerTypeAttrFromDeclarator() 487 Declarator &declarator = state.getDeclarator(); in distributeFunctionTypeAttr() 520 Declarator &declarator = state.getDeclarator(); in distributeFunctionTypeAttrToInnermost() [all …]
|
/external/clang/include/clang/Basic/ |
D | DeclNodes.td | 37 def Declarator : DDecl<Value, 1>; 38 def Field : DDecl<Declarator>; 41 def MSProperty : DDecl<Declarator>; 42 def Function : DDecl<Declarator>, DeclContext; 47 def Var : DDecl<Declarator>; 53 def NonTypeTemplateParm : DDecl<Declarator>;
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 1209 bool isStartOfFunctionDefinition(const ParsingDeclarator &Declarator); 1221 void ParseKNRParamDeclarations(Declarator &D); 1290 ParsedType ParseObjCTypeName(ObjCDeclSpec &DS, Declarator::TheContext Ctx, 1498 Declarator &D); 1499 void ParseDirectNewDeclarator(Declarator &D); 1728 Decl *ParseDeclarationAfterDeclarator(Declarator &D, 1730 bool ParseAsmAttributesAfterDeclarator(Declarator &D); 1732 Declarator &D, 1762 Declarator::TheContext Context); 1952 Declarator::TheContext Context [all …]
|
/external/clang/lib/Parse/ |
D | ParseDecl.cpp | 42 Declarator::TheContext Context, in ParseTypeName() 59 Declarator DeclaratorInfo(DS, Context); in ParseTypeName() 125 Declarator *D) { in ParseGNUAttributes() 340 Declarator *D) { in ParseGNUAttributeArgs() 1498 return Context == Declarator::MemberContext && getLangOpts().CPlusPlus11 && in MightBeDeclarator() 1502 return Context == Declarator::MemberContext || getLangOpts().CPlusPlus; in MightBeDeclarator() 1528 return Context == Declarator::MemberContext || in MightBeDeclarator() 1529 (getLangOpts().CPlusPlus && Context == Declarator::FileContext); in MightBeDeclarator() 1632 ParsingDeclarator D(*this, DS, static_cast<Declarator::TheContext>(Context)); in ParseDeclGroup() 1679 if (Context == Declarator::FileContext) { in ParseDeclGroup() [all …]
|
D | RAIIObjectsForParser.h | 194 class ParsingDeclarator : public Declarator { 199 : Declarator(DS, C), ParsingRAII(P, &DS.getDelayedDiagnosticPool()) { in ParsingDeclarator() 203 return static_cast<const ParsingDeclSpec&>(Declarator::getDeclSpec()); in getDeclSpec() 211 Declarator::clear(); in clear()
|
D | Parser.cpp | 709 return ParseDeclaration(Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 719 return ParseDeclaration(Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 730 return ParseDeclaration(Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 739 return ParseDeclaration(Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 754 ParseExplicitInstantiation(Declarator::FileContext, in ParseExternalDeclaration() 796 bool Parser::isStartOfFunctionDefinition(const ParsingDeclarator &Declarator) { in isStartOfFunctionDefinition() argument 797 assert(Declarator.isFunctionDeclarator() && "Isn't a function declarator"); in isStartOfFunctionDefinition() 803 Declarator.getFunctionTypeInfo().isKNRPrototype()) in isStartOfFunctionDefinition() 889 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); in ParseDeclOrFunctionDefInternal() 893 return ParseDeclGroup(DS, Declarator::FileContext); in ParseDeclOrFunctionDefInternal() [all …]
|
D | ParseObjc.cpp | 783 Declarator::TheContext Context) { in ParseObjCTypeQualifierList() 784 assert(Context == Declarator::ObjCParameterContext || in ParseObjCTypeQualifierList() 785 Context == Declarator::ObjCResultContext); in ParseObjCTypeQualifierList() 790 Context == Declarator::ObjCParameterContext); in ParseObjCTypeQualifierList() 844 Declarator &D) { in takeDeclAttributes() 862 Declarator::TheContext context, in ParseObjCTypeName() 864 assert(context == Declarator::ObjCParameterContext || in ParseObjCTypeName() 865 context == Declarator::ObjCResultContext); in ParseObjCTypeName() 867 (context == Declarator::ObjCParameterContext)); in ParseObjCTypeName() 887 Declarator declarator(declSpec, context); in ParseObjCTypeName() [all …]
|
D | ParseExprCXX.cpp | 1060 Declarator D(DS, Declarator::LambdaExprContext); in ParseLambdaExpressionAfterIntroducer() 1298 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCXXCasts() 1588 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCXXTypeConstructExpression() 1694 Declarator DeclaratorInfo(DS, Declarator::ConditionContext); in ParseCXXCondition() 2330 Declarator D(DS, Declarator::ConversionIdContext); in ParseUnqualifiedIdOperator() 2623 Declarator DeclaratorInfo(DS, Declarator::CXXNewContext); in ParseCXXNewExpression() 2735 void Parser::ParseDirectNewDeclarator(Declarator &D) { in ParseDirectNewDeclarator() 2785 Declarator &D) { in ParseExpressionListOrTypeId() 3092 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCXXAmbiguousParenExpression()
|
D | ParseTemplate.cpp | 177 if (Context == Declarator::MemberContext) { in ParseSingleDeclarationAfterTemplate() 217 ParsingDeclarator DeclaratorInfo(*this, DS, (Declarator::TheContext)Context); in ParseSingleDeclarationAfterTemplate() 238 if (Context != Declarator::FileContext) { in ParseSingleDeclarationAfterTemplate() 529 Declarator::TemplateTypeArgContext).get(); in ParseTypeParameter() 663 Declarator ParamDecl(DS, Declarator::TemplateParamContext); in ParseNonTypeTemplateParameter() 713 Declarator &D) { in DiagnoseMisplacedEllipsisInDeclarator() 1158 Declarator::TemplateTypeArgContext); in ParseTemplateArgument()
|
D | ParseExpr.cpp | 899 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCastExpression() 1082 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCastExpression() 1633 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseExprAfterUnaryExprOrTypeTrait() 2176 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseParenExpression() 2605 Declarator DeclaratorInfo(DS, Declarator::BlockLiteralContext); in ParseBlockId() 2646 Declarator ParamInfo(DS, Declarator::BlockLiteralContext); in ParseBlockLiteralExpression()
|
D | ParseDeclCXX.cpp | 538 if (getLangOpts().CPlusPlus11 && Context == Declarator::MemberContext && in ParseUsingDeclaration() 617 ? Declarator::AliasTemplateContext in ParseUsingDeclaration() 618 : Declarator::AliasDeclContext, in ParseUsingDeclaration() 955 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseBaseTypeSpecifier() 1056 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseBaseTypeSpecifier() 1902 void Parser::HandleMemberFunctionDeclDelays(Declarator& DeclaratorInfo, in HandleMemberFunctionDeclDelays() 2031 Declarator &DeclaratorInfo, VirtSpecifiers &VS, ExprResult &BitfieldSize, in ParseCXXMemberDeclaratorBeforeInitializer() 2102 Declarator &D, in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq() 2287 ParseDeclarationStartingWithTemplate(Declarator::MemberContext, DeclEnd, in ParseCXXClassMemberDeclaration() 2324 ParseUsingDeclaration(Declarator::MemberContext, TemplateInfo, in ParseCXXClassMemberDeclaration() [all …]
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1183 TypeSourceInfo *GetTypeForDeclarator(Declarator &D, Scope *S); 1184 TypeSourceInfo *GetTypeForDeclaratorCast(Declarator &D, QualType FromTy); 1185 TypeSourceInfo *GetTypeSourceInfoForDeclarator(Declarator &D, QualType T, 1190 DeclarationNameInfo GetNameForDeclarator(Declarator &D); 1221 TypeResult ActOnTypeName(Scope *S, Declarator &D); 1497 Decl *ActOnDeclarator(Scope *S, Declarator &D); 1499 NamedDecl *HandleDeclarator(Scope *S, Declarator &D, 1523 NamedDecl* ActOnTypedefDeclarator(Scope* S, Declarator& D, DeclContext* DC, 1528 NamedDecl *ActOnVariableDeclarator(Scope *S, Declarator &D, DeclContext *DC, 1539 NamedDecl* ActOnFunctionDeclarator(Scope* S, Declarator& D, DeclContext* DC, [all …]
|
D | DeclSpec.h | 52 class Declarator; variable 1484 Declarator &TheDeclarator, 1549 class Declarator { 1632 Declarator(const DeclSpec &ds, TheContext C) in Declarator() function 1641 ~Declarator() { in ~Declarator() 2017 return const_cast<Declarator*>(this)->getFunctionTypeInfo(); in getFunctionTypeInfo() 2169 Declarator D; 2172 : D(DS, Declarator::MemberContext), BitfieldSize(nullptr) { } in FieldDeclarator()
|
/external/clang/include/clang/AST/ |
D | TemplateBase.h | 379 TypeSourceInfo *Declarator; member 385 TemplateArgumentLocInfo(TypeSourceInfo *TInfo) : Declarator(TInfo) {} in TemplateArgumentLocInfo() 400 return Declarator; in getAsTypeSourceInfo()
|