/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()
|
/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/include/clang/Basic/ |
D | DeclNodes.td | 36 def Declarator : DDecl<Value, 1>; 37 def Field : DDecl<Declarator>; 40 def MSProperty : DDecl<Declarator>; 41 def Function : DDecl<Declarator>, DeclContext; 46 def Var : DDecl<Declarator>; 52 def NonTypeTemplateParm : DDecl<Declarator>;
|
/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/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/ |
D | ir.py | 251 while isinstance(self[i],Declarator): 263 return Declarator( Identifier(), node ) 452 class Declarator(genpyx.Declarator, Node): class 551 decl = Declarator(Identifier(), Pointer(self.get_rest().clone())) 624 decl=Declarator() 682 class Typedef(genpyx.Typedef, Declarator): 684 return 'typedef ' + Declarator.cstr(self,l) #.strip() 686 class AbstractDeclarator(genpyx.AbstractDeclarator, Declarator): 705 class StructDeclarator(genpyx.StructDeclarator, Declarator): # also used in Union 802 assert isinstance(declarator,Declarator) [all …]
|
D | genpyx.py | 160 while isinstance(self[i],Declarator): 301 class Declarator(object): class 399 class Typedef(Declarator): 432 class AbstractDeclarator(Declarator): 449 class StructDeclarator(Declarator): # also used in Union
|
D | cparse.py | 256 class Declarator(Node,Parser): class 329 class AbstractDeclarator(Declarator): 363 class StructDeclarator(Declarator): 368 Declarator.parse(self,lexer,symbols) 608 decl = Declarator()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 1220 bool isStartOfFunctionDefinition(const ParsingDeclarator &Declarator); 1232 void ParseKNRParamDeclarations(Declarator &D); 1301 ParsedType ParseObjCTypeName(ObjCDeclSpec &DS, Declarator::TheContext Ctx, 1506 Declarator &D); 1507 void ParseDirectNewDeclarator(Declarator &D); 1740 Decl *ParseDeclarationAfterDeclarator(Declarator &D, 1742 bool ParseAsmAttributesAfterDeclarator(Declarator &D); 1744 Declarator &D, 1774 Declarator::TheContext Context); 1971 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() 334 Declarator *D) { in ParseGNUAttributeArgs() 1405 return Context == Declarator::MemberContext && getLangOpts().CPlusPlus11 && in MightBeDeclarator() 1409 return Context == Declarator::MemberContext || getLangOpts().CPlusPlus; in MightBeDeclarator() 1435 return Context == Declarator::MemberContext || in MightBeDeclarator() 1436 (getLangOpts().CPlusPlus && Context == Declarator::FileContext); in MightBeDeclarator() 1540 ParsingDeclarator D(*this, DS, static_cast<Declarator::TheContext>(Context)); in ParseDeclGroup() 1633 bool ExpectSemi = Context != Declarator::ForContext; 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 | ParseObjc.cpp | 817 Declarator::TheContext Context) { in ParseObjCTypeQualifierList() 818 assert(Context == Declarator::ObjCParameterContext || in ParseObjCTypeQualifierList() 819 Context == Declarator::ObjCResultContext); in ParseObjCTypeQualifierList() 824 Context == Declarator::ObjCParameterContext); in ParseObjCTypeQualifierList() 878 Declarator &D) { in takeDeclAttributes() 896 Declarator::TheContext context, in ParseObjCTypeName() 898 assert(context == Declarator::ObjCParameterContext || in ParseObjCTypeName() 899 context == Declarator::ObjCResultContext); in ParseObjCTypeName() 901 (context == Declarator::ObjCParameterContext)); in ParseObjCTypeName() 921 Declarator declarator(declSpec, context); in ParseObjCTypeName() [all …]
|
D | Parser.cpp | 701 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 712 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 724 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 734 return ParseDeclaration(Stmts, Declarator::FileContext, DeclEnd, attrs); in ParseExternalDeclaration() 749 ParseExplicitInstantiation(Declarator::FileContext, in ParseExternalDeclaration() 791 bool Parser::isStartOfFunctionDefinition(const ParsingDeclarator &Declarator) { in isStartOfFunctionDefinition() argument 792 assert(Declarator.isFunctionDeclarator() && "Isn't a function declarator"); in isStartOfFunctionDefinition() 798 Declarator.getFunctionTypeInfo().isKNRPrototype()) in isStartOfFunctionDefinition() 884 Decl *TheDecl = ParseLinkage(DS, Declarator::FileContext); in ParseDeclOrFunctionDefInternal() 888 return ParseDeclGroup(DS, Declarator::FileContext, true); in ParseDeclOrFunctionDefInternal() [all …]
|
D | ParseExprCXX.cpp | 1006 Declarator D(DS, Declarator::LambdaExprContext); in ParseLambdaExpressionAfterIntroducer() 1233 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCXXCasts() 1526 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCXXTypeConstructExpression() 1628 Declarator DeclaratorInfo(DS, Declarator::ConditionContext); in ParseCXXCondition() 2264 Declarator D(DS, Declarator::ConversionIdContext); in ParseUnqualifiedIdOperator() 2525 Declarator DeclaratorInfo(DS, Declarator::CXXNewContext); in ParseCXXNewExpression() 2630 void Parser::ParseDirectNewDeclarator(Declarator &D) { in ParseDirectNewDeclarator() 2680 Declarator &D) { in ParseExpressionListOrTypeId() 2988 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCXXAmbiguousParenExpression()
|
D | ParseExpr.cpp | 792 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCastExpression() 960 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseCastExpression() 1499 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseExprAfterUnaryExprOrTypeTrait() 2033 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseParenExpression() 2386 Declarator DeclaratorInfo(DS, Declarator::BlockLiteralContext); in ParseBlockId() 2427 Declarator ParamInfo(DS, Declarator::BlockLiteralContext); in ParseBlockLiteralExpression()
|
D | ParseTemplate.cpp | 169 if (Context == Declarator::MemberContext) { in ParseSingleDeclarationAfterTemplate() 209 ParsingDeclarator DeclaratorInfo(*this, DS, (Declarator::TheContext)Context); in ParseSingleDeclarationAfterTemplate() 511 Declarator::TemplateTypeArgContext).get(); in ParseTypeParameter() 645 Declarator ParamDecl(DS, Declarator::TemplateParamContext); in ParseNonTypeTemplateParameter() 695 Declarator &D) { in DiagnoseMisplacedEllipsisInDeclarator() 1140 Declarator::TemplateTypeArgContext); in ParseTemplateArgument()
|
D | ParseDeclCXX.cpp | 522 if (getLangOpts().CPlusPlus11 && Context == Declarator::MemberContext && in ParseUsingDeclaration() 600 Declarator::AliasTemplateContext : in ParseUsingDeclaration() 601 Declarator::AliasDeclContext, AS, OwnedType, in ParseUsingDeclaration() 933 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseBaseTypeSpecifier() 1034 Declarator DeclaratorInfo(DS, Declarator::TypeNameContext); in ParseBaseTypeSpecifier() 1810 void Parser::HandleMemberFunctionDeclDelays(Declarator& DeclaratorInfo, in HandleMemberFunctionDeclDelays() 1923 Declarator &DeclaratorInfo, VirtSpecifiers &VS, ExprResult &BitfieldSize, in ParseCXXMemberDeclaratorBeforeInitializer() 2078 ParseDeclarationStartingWithTemplate(Declarator::MemberContext, DeclEnd, in ParseCXXClassMemberDeclaration() 2115 ParseUsingDeclaration(Declarator::MemberContext, TemplateInfo, in ParseCXXClassMemberDeclaration() 2162 ParsingDeclarator DeclaratorInfo(*this, DS, Declarator::MemberContext); in ParseCXXClassMemberDeclaration() [all …]
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1165 TypeSourceInfo *GetTypeForDeclarator(Declarator &D, Scope *S); 1166 TypeSourceInfo *GetTypeForDeclaratorCast(Declarator &D, QualType FromTy); 1167 TypeSourceInfo *GetTypeSourceInfoForDeclarator(Declarator &D, QualType T, 1172 DeclarationNameInfo GetNameForDeclarator(Declarator &D); 1203 TypeResult ActOnTypeName(Scope *S, Declarator &D); 1550 Decl *ActOnDeclarator(Scope *S, Declarator &D); 1552 NamedDecl *HandleDeclarator(Scope *S, Declarator &D, 1573 NamedDecl* ActOnTypedefDeclarator(Scope* S, Declarator& D, DeclContext* DC, 1578 NamedDecl *ActOnVariableDeclarator(Scope *S, Declarator &D, DeclContext *DC, 1589 NamedDecl* ActOnFunctionDeclarator(Scope* S, Declarator& D, DeclContext* DC, [all …]
|
D | DeclSpec.h | 51 class Declarator; variable 1441 Declarator &TheDeclarator, 1505 class Declarator { 1588 Declarator(const DeclSpec &ds, TheContext C) in Declarator() function 1597 ~Declarator() { in ~Declarator() 1965 return const_cast<Declarator*>(this)->getFunctionTypeInfo(); in getFunctionTypeInfo() 2117 Declarator D; 2120 : D(DS, Declarator::MemberContext), BitfieldSize(nullptr) { } in FieldDeclarator()
|
/external/clang/include/clang/AST/ |
D | TemplateBase.h | 374 TypeSourceInfo *Declarator; member 380 TemplateArgumentLocInfo(TypeSourceInfo *TInfo) : Declarator(TInfo) {} in TemplateArgumentLocInfo() 395 return Declarator; in getAsTypeSourceInfo()
|