Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(398)

Side by Side Diff: src/parser.cc

Issue 7739020: Rename scanner.* to scanner-character-streams.* and scanner-base.* to scanner.* (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: rename scanner-base.* to scanner.* Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/parser.h ('k') | src/preparser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 21 matching lines...) Expand all
32 #include "bootstrapper.h" 32 #include "bootstrapper.h"
33 #include "char-predicates-inl.h" 33 #include "char-predicates-inl.h"
34 #include "codegen.h" 34 #include "codegen.h"
35 #include "compiler.h" 35 #include "compiler.h"
36 #include "func-name-inferrer.h" 36 #include "func-name-inferrer.h"
37 #include "messages.h" 37 #include "messages.h"
38 #include "parser.h" 38 #include "parser.h"
39 #include "platform.h" 39 #include "platform.h"
40 #include "preparser.h" 40 #include "preparser.h"
41 #include "runtime.h" 41 #include "runtime.h"
42 #include "scanner-character-streams.h"
42 #include "scopeinfo.h" 43 #include "scopeinfo.h"
43 #include "string-stream.h" 44 #include "string-stream.h"
44 45
45 namespace v8 { 46 namespace v8 {
46 namespace internal { 47 namespace internal {
47 48
48 // PositionStack is used for on-stack allocation of token positions for 49 // PositionStack is used for on-stack allocation of token positions for
49 // new expressions. Please look at ParseNewExpression. 50 // new expressions. Please look at ParseNewExpression.
50 51
51 class PositionStack { 52 class PositionStack {
(...skipping 5170 matching lines...) Expand 10 before | Expand all | Expand 10 after
5222 result = parser.ParseProgram(source, 5223 result = parser.ParseProgram(source,
5223 info->is_global(), 5224 info->is_global(),
5224 info->StrictMode()); 5225 info->StrictMode());
5225 } 5226 }
5226 } 5227 }
5227 info->SetFunction(result); 5228 info->SetFunction(result);
5228 return (result != NULL); 5229 return (result != NULL);
5229 } 5230 }
5230 5231
5231 } } // namespace v8::internal 5232 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/parser.h ('k') | src/preparser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698