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

Side by Side Diff: src/parsing/preparser.h

Issue 2245133003: [style] Rename some enum values with 'k' prefix (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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/parsing/parser-base.h ('k') | src/parsing/preparser.cc » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_PARSING_PREPARSER_H 5 #ifndef V8_PARSING_PREPARSER_H
6 #define V8_PARSING_PREPARSER_H 6 #define V8_PARSING_PREPARSER_H
7 7
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/base/hashmap.h" 10 #include "src/base/hashmap.h"
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 } 826 }
827 827
828 static PreParserExpression ExpressionFromLiteral( 828 static PreParserExpression ExpressionFromLiteral(
829 Token::Value token, int pos, Scanner* scanner, 829 Token::Value token, int pos, Scanner* scanner,
830 PreParserFactory* factory) { 830 PreParserFactory* factory) {
831 return PreParserExpression::Default(); 831 return PreParserExpression::Default();
832 } 832 }
833 833
834 static PreParserExpression ExpressionFromIdentifier( 834 static PreParserExpression ExpressionFromIdentifier(
835 PreParserIdentifier name, int start_position, int end_position, 835 PreParserIdentifier name, int start_position, int end_position,
836 InferName = InferName::Yes) { 836 InferName = InferName::kYes) {
837 return PreParserExpression::FromIdentifier(name); 837 return PreParserExpression::FromIdentifier(name);
838 } 838 }
839 839
840 PreParserExpression ExpressionFromString(int pos, 840 PreParserExpression ExpressionFromString(int pos,
841 Scanner* scanner, 841 Scanner* scanner,
842 PreParserFactory* factory = NULL); 842 PreParserFactory* factory = NULL);
843 843
844 PreParserExpression GetIterator(PreParserExpression iterable, 844 PreParserExpression GetIterator(PreParserExpression iterable,
845 PreParserFactory* factory, int pos) { 845 PreParserFactory* factory, int pos) {
846 return PreParserExpression::Default(); 846 return PreParserExpression::Default();
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
1259 const PreParserFormalParameters& parameters, FunctionKind kind, 1259 const PreParserFormalParameters& parameters, FunctionKind kind,
1260 FunctionLiteral::FunctionType function_type, bool* ok) { 1260 FunctionLiteral::FunctionType function_type, bool* ok) {
1261 return pre_parser_->ParseEagerFunctionBody(function_name, pos, parameters, 1261 return pre_parser_->ParseEagerFunctionBody(function_name, pos, parameters,
1262 kind, function_type, ok); 1262 kind, function_type, ok);
1263 } 1263 }
1264 1264
1265 } // namespace internal 1265 } // namespace internal
1266 } // namespace v8 1266 } // namespace v8
1267 1267
1268 #endif // V8_PARSING_PREPARSER_H 1268 #endif // V8_PARSING_PREPARSER_H
OLDNEW
« no previous file with comments | « src/parsing/parser-base.h ('k') | src/parsing/preparser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698