| /src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| permissivevisitor.d | 2 * A visitor that facilitates the traversal of subsets of the AST. 13 * that assert(0) in order to facilitate the traversal of subsets of the AST. 16 extern(C++) class PermissiveVisitor(AST): ParseTimeVisitor!AST 18 alias visit = ParseTimeVisitor!AST.visit; 20 override void visit(AST.Dsymbol){} 21 override void visit(AST.Parameter){} 22 override void visit(AST.Statement){} 23 override void visit(AST.Type){} 24 override void visit(AST.Expression){ [all...] |
| parsetimevisitor.d | 2 * Defines a visitor for the AST. 12 /** Basic and dumm visitor which implements a visit method for each AST node 13 * implemented in AST. This visitor is the parent of strict, transitive 16 extern (C++) class ParseTimeVisitor(AST) 19 void visit(AST.Dsymbol) { assert(0); } 20 void visit(AST.Parameter) { assert(0); } 21 void visit(AST.Statement) { assert(0); } 22 void visit(AST.Type) { assert(0); } 23 void visit(AST.Expression) { assert(0); } 24 void visit(AST.TemplateParameter) { assert(0); [all...] |
| transitivevisitor.d | 15 /** Visitor that implements the AST traversal logic. The nodes just accept their children. 17 extern(C++) class ParseTimeTransitiveVisitor(AST) : PermissiveVisitor!AST 19 alias visit = PermissiveVisitor!AST.visit; 21 mixin ParseVisitMethods!AST __methods; 25 /* This mixin implements the AST traversal logic for parse time AST nodes. The same code 26 * is used for semantic time AST node traversal, so in order to not duplicate the code, 29 package mixin template ParseVisitMethods(AST) 34 override void visit(AST.ExpStatement s [all...] |
| parse.d | 33 class Parser(AST, Lexer = dmd.lexer.Lexer) : Lexer 35 AST.ModuleDeclaration* md; 39 AST.Module mod; 53 extern (D) this(const ref Loc loc, AST.Module _module, const(char)[] input, bool doDocComment) 75 extern (D) this(AST.Module _module, const(char)[] input, bool doDocComment) 92 AST.Dsymbols* parseModule() 109 AST.Expression msg = null; 145 md = new AST.ModuleDeclaration(loc, a, id, msg, isdeprecated); 160 final AST.Dsymbols* parseModuleContent() 162 AST.Dsymbol lastDecl = mod [all...] |
| cparse.d | 35 final class CParser(AST) : Parser!AST 37 AST.Dsymbols* symbols; // symbols declared in current scope 54 * but to build the AST we need to distinguish `fun` being a function as opposed to a variable. 60 Array!(void*) typedefTab; /// Array of AST.Type[Identifier], typedef's indexed by Identifier 62 extern (D) this(TARGET)(AST.Module _module, const(char)[] input, bool doDocComment, 98 override AST.Dsymbols* parseModule() 101 symbols = new AST.Dsymbols(); 108 auto wrap = new AST.Dsymbols(); 109 auto ld = new AST.LinkDeclaration(token.loc, LINK.c, symbols) [all...] |
| dtoh.d | 223 /// Namespace providing the actual AST nodes 224 alias AST = ASTCodegen; 259 AST.AggregateDeclaration adparent; 262 AST.TemplateDeclaration tdparent; 269 AST.Type origType; 272 AST.Visibility.Kind currentVisibility; 275 AST.STC storageClass; 291 /// Informations about the current context in the AST 309 private void includeSymbol(AST.Dsymbol dsym) 313 printf("[includeSymbol(AST.Dsymbol) enter] %s\n", dsym.toChars()) [all...] |
| /src/external/mit/isl/dist/interface/ |
| extract_interface.h | 1 #include <clang/AST/Decl.h>
|
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| Z3Solver.cpp | 147 Z3_ast AST; 150 Z3Expr(Z3Context &C, Z3_ast ZA) : SMTExpr(), Context(C), AST(ZA) { 151 Z3_inc_ref(Context.Context, AST); 155 Z3Expr(const Z3Expr &Copy) : SMTExpr(), Context(Copy.Context), AST(Copy.AST) { 156 Z3_inc_ref(Context.Context, AST); 162 Z3_inc_ref(Context.Context, Other.AST); 163 Z3_dec_ref(Context.Context, AST); 164 AST = Other.AST; [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/ |
| RefactoringRuleContext.h | 45 bool hasASTContext() const { return AST; } 48 assert(AST && "no AST!"); 49 return *AST; 52 void setASTContext(ASTContext &Context) { AST = &Context; } 76 /// An optional AST for the translation unit on which a refactoring action 78 ASTContext *AST = nullptr;
|
| /src/share/i18n/csmapper/AST/ |
| Makefile.inc | 3 .PATH: ${.CURDIR}/AST 5 SRCS_mapper.dir+= mapper.dir.AST 6 SRCS_charset.pivot+= charset.pivot.AST 7 CLEANFILES+= mapper.dir.AST charset.pivot.AST 8 PART_ARMSCII!= ${TOOL_SED} '/^\#/d;/^$$/d;' ${.CURDIR}/AST/ARMSCII.part 11 .if exists(${.CURDIR}/AST/ARMSCII-$i%UCS.src) 14 FILESDIR_ARMSCII-$i%UCS.mps= ${BINDIR}/AST 16 .if exists(${.CURDIR}/AST/UCS%ARMSCII-$i.src) 19 FILESDIR_UCS%ARMSCII-$i.mps= ${BINDIR}/AST [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| ExternalASTMerger.h | 1 //===--- ExternalASTMerger.h - Merging External AST Interface ---*- C++ -*-===// 16 #include "clang/AST/ASTImporter.h" 17 #include "clang/AST/ASTImporterSharedState.h" 18 #include "clang/AST/ExternalASTSource.h" 54 ASTContext *AST; 74 ASTContext &AST; 84 ASTContext &AST; 95 ImporterSource(ASTContext &AST, FileManager &FM, const OriginMap &OM, 97 : AST(AST), FM(FM), OM(OM), Temporary(Temporary), Merger(Merger) { [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| ASTUnit.cpp | 14 #include "clang/AST/ASTConsumer.h" 15 #include "clang/AST/ASTContext.h" 16 #include "clang/AST/CommentCommandTraits.h" 17 #include "clang/AST/Decl.h" 18 #include "clang/AST/DeclBase.h" 19 #include "clang/AST/DeclCXX.h" 20 #include "clang/AST/DeclGroup.h" 21 #include "clang/AST/DeclObjC.h" 22 #include "clang/AST/DeclTemplate.h" 23 #include "clang/AST/DeclarationName.h [all...] |
| FrontendAction.cpp | 10 #include "clang/AST/ASTConsumer.h" 11 #include "clang/AST/ASTContext.h" 12 #include "clang/AST/DeclGroup.h" 138 std::unique_ptr<ASTUnit> AST) { 140 CurrentASTUnit = std::move(AST); 564 // If we're replaying the build of an AST file, import it and set up 569 // The AST unit populates its own diagnostics engine rather than ours. 578 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( 582 if (!AST) 586 // are inherited from the AST unit [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| AliasSetTracker.h | 112 AliasSet *getAliasSet(AliasSetTracker &AST) { 116 AS = OldAS->getForwardedTarget(AST); 118 OldAS->dropRef(AST); 188 void dropRef(AliasSetTracker &AST) { 191 removeFromTracker(AST); 214 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST); 285 AliasSet *getForwardedTarget(AliasSetTracker &AST) { 288 AliasSet *Dest = Forward->getForwardedTarget(AST); 291 Forward->dropRef(AST); 297 void removeFromTracker(AliasSetTracker &AST); [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Tooling/ASTDiff/ |
| ASTDiff.h | 1 //===- ASTDiff.h - AST differencing API -----------------------*- C++ -*- -===// 36 /// Represents a Clang AST node, alongside some additional information. 65 /// SyntaxTree objects represent subtrees of the AST. 70 SyntaxTree(ASTContext &AST); 71 /// Constructs a tree from any AST node. 73 SyntaxTree(T *Node, ASTContext &AST) 74 : TreeImpl(std::make_unique<Impl>(this, Node, AST)) {}
|
| /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Extract/ |
| Extract.cpp | 16 #include "clang/AST/ASTContext.h" 17 #include "clang/AST/DeclCXX.h" 18 #include "clang/AST/Expr.h" 19 #include "clang/AST/ExprObjC.h" 108 ASTContext &AST = Context.getASTContext(); 109 SourceManager &SM = AST.getSourceManager(); 110 const LangOptions &LangOpts = AST.getLangOpts(); 116 QualType ReturnType = AST.VoidTy; 142 PrintingPolicy PP = AST.getPrintingPolicy();
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| AliasSetTracker.cpp | 48 void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST) { 61 AliasAnalysis &AA = AST.getAliasAnalysis(); 74 AST.TotalMayAliasSetSize += size(); 76 AST.TotalMayAliasSetSize += AS.size(); 106 AS.dropRef(AST); 126 void AliasSet::removeFromTracker(AliasSetTracker &AST) { 128 AST.removeAliasSet(this); 131 void AliasSet::addPointer(AliasSetTracker &AST, PointerRec &Entry, 140 AliasAnalysis &AA = AST.getAliasAnalysis(); 146 AST.TotalMayAliasSetSize += size() [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/ |
| ASTDiff.cpp | 1 //===- ASTDiff.cpp - AST differencing implementation-----------*- C++ -*- -===// 9 // This file contains definitons for the AST differencing interface. 14 #include "clang/AST/ParentMapContext.h" 15 #include "clang/AST/RecursiveASTVisitor.h" 111 /// Represents the AST of a TranslationUnit. 114 Impl(SyntaxTree *Parent, ASTContext &AST); 115 /// Constructs a tree from an AST node. 116 Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST); 117 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST); 121 ASTContext &AST) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| ExternalASTMerger.cpp | 1 //===- ExternalASTMerger.cpp - Merging External AST Interface ---*- C++ -*-===// 14 #include "clang/AST/ASTContext.h" 15 #include "clang/AST/Decl.h" 16 #include "clang/AST/DeclCXX.h" 17 #include "clang/AST/DeclObjC.h" 18 #include "clang/AST/DeclTemplate.h" 19 #include "clang/AST/ExternalASTMerger.h" 134 // AST could contain declarations that were imported from a source 141 // would fail to do so as their temporary AST could be deleted (which means 153 // Target AST <--- 3. Indirect import --- Persistent AS [all...] |
| /src/external/apache2/llvm/include/ |
| Makefile | 158 .PATH: ${CLANG_SRCDIR}/include/clang/AST \ 187 clang/AST/AttrImpl.inc|-gen-clang-attr-impl \ 188 clang/AST/AttrNodeTraverse.inc|-gen-clang-attr-node-traverse \ 189 clang/AST/AttrTextNodeDump.inc|-gen-clang-attr-text-node-dump \ 190 clang/AST/Attrs.inc|-gen-clang-attr-classes \ 191 clang/AST/AttrVisitor.inc|-gen-clang-attr-ast-visitor \ 206 clang/AST/AbstractBasicReader.inc|-gen-clang-basic-reader \ 207 clang/AST/AbstractBasicWriter.inc|-gen-clang-basic-writer 211 clang/AST/AbstractTypeReader.inc|-gen-clang-type-reader [all...] |
| /src/external/apache2/llvm/dist/clang/tools/clang-check/ |
| ClangCheck.cpp | 18 #include "clang/AST/ASTConsumer.h" 60 ASTDump("ast-dump", 64 ASTList("ast-list", 68 ASTPrint("ast-print", 72 "ast-dump-filter", 152 void HandleTranslationUnit(clang::ASTContext &AST) override { 156 clang::syntax::Arena A(AST.getSourceManager(), AST.getLangOpts(), TB); 157 llvm::outs() << clang::syntax::buildSyntaxTree(A, AST)->dump( 158 AST.getSourceManager()) [all...] |
| /src/share/i18n/csmapper/ |
| Makefile | 13 SUBDIR= APPLE AST BIG5 CBM CNS CP EBCDIC GB GEORGIAN ISO646 ISO-8859 \
|
| /src/share/i18n/esdb/ |
| Makefile | 15 SUBDIR= APPLE AST BIG5 CBM CP DEC EUC EBCDIC GB GEORGIAN ISO-2022 \
|
| /src/external/apache2/llvm/dist/clang/tools/clang-import-test/ |
| clang-import-test.cpp | 9 #include "clang/AST/ASTContext.h" 10 #include "clang/AST/ASTImporter.h" 11 #include "clang/AST/DeclObjC.h" 12 #include "clang/AST/ExternalASTMerger.h" 71 static llvm::cl::opt<bool> DumpAST("dump-ast", llvm::cl::init(false), 72 llvm::cl::desc("Dump combined AST")); 221 auto AST = std::make_unique<ASTContext>( 224 AST->InitBuiltinTypes(CI.getTarget()); 225 return AST; 282 std::unique_ptr<ASTContext> AST = init_convenience::BuildASTContext [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/ |
| Lookup.cpp | 14 #include "clang/AST/ASTContext.h" 15 #include "clang/AST/Decl.h" 16 #include "clang/AST/DeclCXX.h" 17 #include "clang/AST/DeclarationName.h" 143 auto &AST = UseContext.getParentASTContext(); 156 auto LookupRes = NS->lookup(DeclarationName(&AST.Idents.get(Head)));
|