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

Side by Side Diff: src/ast.h

Issue 994043003: [strong] More scoping related errors: object literal methods. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: moar code reviews Created 5 years, 9 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 | « no previous file | src/code-stubs.h » ('j') | src/hydrogen-instructions.h » ('J')
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_AST_H_ 5 #ifndef V8_AST_H_
6 #define V8_AST_H_ 6 #define V8_AST_H_
7 7
8 #include "src/v8.h" 8 #include "src/v8.h"
9 9
10 #include "src/assembler.h" 10 #include "src/assembler.h"
(...skipping 2580 matching lines...) Expand 10 before | Expand all | Expand 10 after
2591 int parameter_count_; 2591 int parameter_count_;
2592 int function_token_position_; 2592 int function_token_position_;
2593 2593
2594 unsigned bitfield_; 2594 unsigned bitfield_;
2595 class IsExpression : public BitField<bool, 0, 1> {}; 2595 class IsExpression : public BitField<bool, 0, 1> {};
2596 class IsAnonymous : public BitField<bool, 1, 1> {}; 2596 class IsAnonymous : public BitField<bool, 1, 1> {};
2597 class Pretenure : public BitField<bool, 2, 1> {}; 2597 class Pretenure : public BitField<bool, 2, 1> {};
2598 class HasDuplicateParameters : public BitField<ParameterFlag, 3, 1> {}; 2598 class HasDuplicateParameters : public BitField<ParameterFlag, 3, 1> {};
2599 class IsFunction : public BitField<IsFunctionFlag, 4, 1> {}; 2599 class IsFunction : public BitField<IsFunctionFlag, 4, 1> {};
2600 class IsParenthesized : public BitField<IsParenthesizedFlag, 5, 1> {}; 2600 class IsParenthesized : public BitField<IsParenthesizedFlag, 5, 1> {};
2601 class FunctionKindBits : public BitField<FunctionKind, 6, 7> {}; 2601 class FunctionKindBits : public BitField<FunctionKind, 6, 8> {};
2602 }; 2602 };
2603 2603
2604 2604
2605 class ClassLiteral FINAL : public Expression { 2605 class ClassLiteral FINAL : public Expression {
2606 public: 2606 public:
2607 typedef ObjectLiteralProperty Property; 2607 typedef ObjectLiteralProperty Property;
2608 2608
2609 DECLARE_NODE_TYPE(ClassLiteral) 2609 DECLARE_NODE_TYPE(ClassLiteral)
2610 2610
2611 Handle<String> name() const { return raw_name_->string(); } 2611 Handle<String> name() const { return raw_name_->string(); }
(...skipping 897 matching lines...) Expand 10 before | Expand all | Expand 10 after
3509 3509
3510 private: 3510 private:
3511 Zone* zone_; 3511 Zone* zone_;
3512 AstValueFactory* ast_value_factory_; 3512 AstValueFactory* ast_value_factory_;
3513 }; 3513 };
3514 3514
3515 3515
3516 } } // namespace v8::internal 3516 } } // namespace v8::internal
3517 3517
3518 #endif // V8_AST_H_ 3518 #endif // V8_AST_H_
OLDNEW
« no previous file with comments | « no previous file | src/code-stubs.h » ('j') | src/hydrogen-instructions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698