| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |