HomeSort by relevance Sort by last modified time
    Searched refs:Rewrite (Results 1 - 25 of 25) sorted by null

  /external/v8/src/
rewriter.h 38 // Rewrite top-level code (ECMA 262 "programs") so as to conservatively
44 static bool Rewrite(CompilationInfo* info);
rewriter.cc 113 // Rewrite : <x>; -> .result = <x>;
122 // Rewrite both then and else parts (reversed).
133 // Rewrite the body.
161 // Rewrite both try and catch blocks (reversed order).
173 // Rewrite both try and finally block (reversed order).
183 // Rewrite statements in all case clauses in reversed order.
235 bool Rewriter::Rewrite(CompilationInfo* info) {
compiler.cc 339 return Rewriter::Rewrite(info) && Scope::Analyze(info) && GenerateCode(info);
  /external/clang/include/clang/Rewrite/
FixItRewriter.h 20 #include "clang/Rewrite/Rewriter.h"
64 Rewriter Rewrite;
93 return Rewrite.getRewriteBufferFor(ID) != NULL;
97 iterator buffer_begin() { return Rewrite.buffer_begin(); }
98 iterator buffer_end() { return Rewrite.buffer_end(); }
  /external/clang/lib/
Makefile 12 StaticAnalyzer Edit Rewrite ARCMigrate Serialization Frontend \
  /external/clang/lib/Rewrite/
FixItRewriter.cpp 16 #include "clang/Rewrite/FixItRewriter.h"
35 Rewrite(SourceMgr, LangOpts),
50 const RewriteBuffer *RewriteBuf = Rewrite.getRewriteBufferFor(ID);
60 Rewriter &Rewrite;
63 RewritesReceiver(Rewriter &Rewrite) : Rewrite(Rewrite) { }
66 Rewrite.InsertText(loc, text);
69 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text)
    [all...]
RewriteMacros.cpp 1 //===--- RewriteMacros.cpp - Rewrite macros into their expansions ---------===//
15 #include "clang/Rewrite/Rewriters.h"
16 #include "clang/Rewrite/Rewriter.h"
89 /// RewriteMacrosInInput - Implement -rewrite-macros mode.
93 Rewriter Rewrite;
94 Rewrite.setSourceMgr(SM, PP.getLangOpts());
95 RewriteBuffer &RB = Rewrite.getEditBuffer(SM.getMainFileID());
210 Rewrite.getRewriteBufferFor(SM.getMainFileID())) {
RewriteObjC.cpp 14 #include "clang/Rewrite/ASTConsumers.h"
15 #include "clang/Rewrite/Rewriter.h"
60 Rewriter Rewrite;
105 /* Misc. containers needed for meta-data rewrite. */
200 return; // We can't rewrite the same node twice.
206 if (!Rewrite.ReplaceStmt(Old, New)) {
221 int Size = Rewrite.getRangeSize(SrcRange);
234 if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
247 if (!Rewrite.InsertText(Loc, Str, InsertAfter) ||
257 if (!Rewrite.ReplaceText(Start, OrigLength, Str) |
    [all...]
RewriteModernObjC.cpp 14 #include "clang/Rewrite/ASTConsumers.h"
15 #include "clang/Rewrite/Rewriter.h"
60 Rewriter Rewrite;
106 /* Misc. containers needed for meta-data rewrite. */
214 return; // We can't rewrite the same node twice.
220 if (!Rewrite.ReplaceStmt(Old, New)) {
235 int Size = Rewrite.getRangeSize(SrcRange);
248 if (!Rewrite.ReplaceText(SrcRange.getBegin(), Size, Str)) {
261 if (!Rewrite.InsertText(Loc, Str, InsertAfter) ||
271 if (!Rewrite.ReplaceText(Start, OrigLength, Str) |
    [all...]
  /external/clang/
Android.mk 19 lib/Rewrite \
  /external/clang/lib/ARCMigrate/
ObjCMT.cpp 20 #include "clang/Rewrite/Rewriter.h"
144 // Do depth first; we want to rewrite the subexpressions first so that if
167 Rewriter &Rewrite;
170 RewritesReceiver(Rewriter &Rewrite) : Rewrite(Rewrite) { }
173 Rewrite.InsertText(loc, text);
176 Rewrite.ReplaceText(range.getBegin(), Rewrite.getRangeSize(range), text);
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRTreeAdaptor.h 102 #pragma mark Rewrite Rules
  /external/v8/test/mjsunit/
stress-array-push.js 28 // Rewrite of mozilla_js_tests/js1_5/GC/regress-278725
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRTreeAdaptor.h 106 #pragma mark Rewrite Rules
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRTreeAdaptor.h 106 #pragma mark Rewrite Rules
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRTreeAdaptor.h 106 #pragma mark Rewrite Rules
  /external/regex-re2/re2/
re2.cc 307 // Returns the maximum submatch needed for the rewrite to be done by Replace().
308 // E.g. if rewrite == "foo \\2,\\1", returns 2.
309 static int MaxSubmatch(const StringPiece& rewrite) {
311 for (const char *s = rewrite.data(), *end = s + rewrite.size();
328 const StringPiece& rewrite) {
330 int nvec = 1 + MaxSubmatch(rewrite);
337 if (!re.Rewrite(&s, rewrite, vec, nvec))
348 const StringPiece& rewrite) {
    [all...]
re2.h 338 // Replace the first match of "pattern" in "str" with "rewrite".
339 // Within "rewrite", backslash-escaped digits (\1 to \9) can be
341 // from the pattern. \0 in "rewrite" refers to the entire matching
353 const StringPiece& rewrite);
356 // of the pattern in the string with the rewrite. E.g.
370 const StringPiece& rewrite);
372 // Like Replace, except that if the pattern matches, "rewrite"
380 const StringPiece &rewrite,
460 // Check that the given rewrite string is suitable for use with this
463 // to satisfy all of the \N tokens in rewrite
    [all...]
  /external/regex-re2/util/
pcre.cc 328 const StringPiece& rewrite) {
335 if (!pattern.Rewrite(&s, rewrite, *str, vec, matches))
346 const StringPiece& rewrite) {
385 pattern.Rewrite(&out, rewrite, *str, vec, matches);
402 const StringPiece &rewrite,
409 return pattern.Rewrite(out, rewrite, text, vec, matches);
606 bool PCRE::Rewrite(string *out, const StringPiece &rewrite
    [all...]
pcre.h 376 // Replace the first match of "pattern" in "str" with "rewrite".
377 // Within "rewrite", backslash-escaped digits (\1 to \9) can be
379 // from the pattern. \0 in "rewrite" refers to the entire matching
391 const StringPiece& rewrite);
394 // the string with the rewrite. Replacements are not subject to
405 const StringPiece& rewrite);
407 // Like Replace, except that if the pattern matches, "rewrite"
415 const StringPiece &rewrite,
418 // Check that the given @p rewrite string is suitable for use with
421 // of the \N tokens in @p rewrite, an
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/template-output/
template-output.rb 250 example "rewrite" do
271 grammar Rewrite;
275 rewrite=true;
306 example "tree rewrite" do
371 rewrite=true;
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
AST.stg 93 * as a rule could have both rewrite and AST within the same alternative
109 /** ID and track it for use in a rewrite rule */
115 /** ids+=ID and track it for use in a rewrite rule; adds to ids *and*
116 * to the tracking list stream_ID for use in the rewrite.
123 /** ^(ID ...) track for rewrite */
129 /** Match ^(label+=TOKEN ...) track for rewrite */
135 /** rule when output=AST and tracking for rewrite */
141 /** x+=rule when output=AST and tracking for rewrite */
147 /** ^(rule ...) rewrite */
153 /** ^(x+=rule ...) rewrite */
    [all...]
  /external/chromium/chrome/browser/resources/sync_internals/
chrome_sync.js 143 // TODO(akalin): Rewrite the C++ side to not need the handlers below.
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/
rewrite.rb 39 TokenRewriteStream is a specialized form of CommonTokenStream that provides simple stream editing functionality. By creating <i>rewrite programs</i>, new text output can be created based upon the tokens in the stream. The basic token stream itself is preserved, and text output is rendered on demand using the #to_s method.
52 be executed by a token rewrite stream at some time in future when the stream is
57 Rewrite streams implement lazy rewriting by storing the parameters of
59 a rewrite program list.
78 # run the rewrite operation represented by this object and append the output to +buffer+
97 Represents rewrite operation:
99 add string <tt>op.text</tt> to the rewrite output immediately before adding the
120 Represents rewrite operation:
122 add text <tt>op.text</tt> to the rewrite buffer in lieu of the text of tokens
158 Represents rewrite operation
377 def rewrite( program_name = 'default', range = nil ) method
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LoopStrengthReduce.cpp     [all...]

Completed in 463 milliseconds