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

Side by Side Diff: src/token.h

Issue 8404030: Version 3.7.1 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « src/stub-cache.cc ('k') | src/type-info.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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 T(INC, "++", 0) \ 66 T(INC, "++", 0) \
67 T(DEC, "--", 0) \ 67 T(DEC, "--", 0) \
68 \ 68 \
69 /* Assignment operators. */ \ 69 /* Assignment operators. */ \
70 /* IsAssignmentOp() and Assignment::is_compound() relies on */ \ 70 /* IsAssignmentOp() and Assignment::is_compound() relies on */ \
71 /* this block of enum values being contiguous and sorted in the */ \ 71 /* this block of enum values being contiguous and sorted in the */ \
72 /* same order! */ \ 72 /* same order! */ \
73 T(INIT_VAR, "=init_var", 2) /* AST-use only. */ \ 73 T(INIT_VAR, "=init_var", 2) /* AST-use only. */ \
74 T(INIT_LET, "=init_let", 2) /* AST-use only. */ \ 74 T(INIT_LET, "=init_let", 2) /* AST-use only. */ \
75 T(INIT_CONST, "=init_const", 2) /* AST-use only. */ \ 75 T(INIT_CONST, "=init_const", 2) /* AST-use only. */ \
76 T(INIT_CONST_HARMONY, "=init_const_harmony", 2) /* AST-use only. */ \
76 T(ASSIGN, "=", 2) \ 77 T(ASSIGN, "=", 2) \
77 T(ASSIGN_BIT_OR, "|=", 2) \ 78 T(ASSIGN_BIT_OR, "|=", 2) \
78 T(ASSIGN_BIT_XOR, "^=", 2) \ 79 T(ASSIGN_BIT_XOR, "^=", 2) \
79 T(ASSIGN_BIT_AND, "&=", 2) \ 80 T(ASSIGN_BIT_AND, "&=", 2) \
80 T(ASSIGN_SHL, "<<=", 2) \ 81 T(ASSIGN_SHL, "<<=", 2) \
81 T(ASSIGN_SAR, ">>=", 2) \ 82 T(ASSIGN_SAR, ">>=", 2) \
82 T(ASSIGN_SHR, ">>>=", 2) \ 83 T(ASSIGN_SHR, ">>>=", 2) \
83 T(ASSIGN_ADD, "+=", 2) \ 84 T(ASSIGN_ADD, "+=", 2) \
84 T(ASSIGN_SUB, "-=", 2) \ 85 T(ASSIGN_SUB, "-=", 2) \
85 T(ASSIGN_MUL, "*=", 2) \ 86 T(ASSIGN_MUL, "*=", 2) \
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 private: 285 private:
285 static const char* const name_[NUM_TOKENS]; 286 static const char* const name_[NUM_TOKENS];
286 static const char* const string_[NUM_TOKENS]; 287 static const char* const string_[NUM_TOKENS];
287 static const int8_t precedence_[NUM_TOKENS]; 288 static const int8_t precedence_[NUM_TOKENS];
288 static const char token_type[NUM_TOKENS]; 289 static const char token_type[NUM_TOKENS];
289 }; 290 };
290 291
291 } } // namespace v8::internal 292 } } // namespace v8::internal
292 293
293 #endif // V8_TOKEN_H_ 294 #endif // V8_TOKEN_H_
OLDNEW
« no previous file with comments | « src/stub-cache.cc ('k') | src/type-info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698