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

Side by Side Diff: src/parser.h

Issue 13343: More assertion propagation. (Closed)
Patch Set: "Does it lint?" Created 12 years 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
OLDNEW
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 v8::Extension* extension, 140 v8::Extension* extension,
141 ScriptDataImpl* pre_data); 141 ScriptDataImpl* pre_data);
142 142
143 143
144 ScriptDataImpl* PreParse(unibrow::CharacterStream* stream, 144 ScriptDataImpl* PreParse(unibrow::CharacterStream* stream,
145 v8::Extension* extension); 145 v8::Extension* extension);
146 146
147 147
148 bool ParseRegExp(FlatStringReader* input, 148 bool ParseRegExp(FlatStringReader* input,
149 bool multiline, 149 bool multiline,
150 RegExpParseResult* result); 150 RegExpCompileData* result);
151 151
152 152
153 // Support for doing lazy compilation. The script is the script containing full 153 // Support for doing lazy compilation. The script is the script containing full
154 // source of the script where the function is declared. The start_position and 154 // source of the script where the function is declared. The start_position and
155 // end_position specifies the part of the script source which has the source 155 // end_position specifies the part of the script source which has the source
156 // for the function decleration in the form: 156 // for the function decleration in the form:
157 // 157 //
158 // (<formal parameters>) { <function body> } 158 // (<formal parameters>) { <function body> }
159 // 159 //
160 // without any function keyword or name. 160 // without any function keyword or name.
161 // 161 //
162 FunctionLiteral* MakeLazyAST(Handle<Script> script, 162 FunctionLiteral* MakeLazyAST(Handle<Script> script,
163 Handle<String> name, 163 Handle<String> name,
164 int start_position, 164 int start_position,
165 int end_position, 165 int end_position,
166 bool is_expression); 166 bool is_expression);
167 167
168 } } // namespace v8::internal 168 } } // namespace v8::internal
169 169
170 #endif // V8_PARSER_H_ 170 #endif // V8_PARSER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698