OLD | NEW |
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 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1169 Variable* var_; // resolved variable, or NULL | 1169 Variable* var_; // resolved variable, or NULL |
1170 bool is_this_; | 1170 bool is_this_; |
1171 bool is_trivial_; | 1171 bool is_trivial_; |
1172 int position_; | 1172 int position_; |
1173 | 1173 |
1174 VariableProxy(Isolate* isolate, | 1174 VariableProxy(Isolate* isolate, |
1175 Handle<String> name, | 1175 Handle<String> name, |
1176 bool is_this, | 1176 bool is_this, |
1177 int position = RelocInfo::kNoPosition); | 1177 int position = RelocInfo::kNoPosition); |
1178 | 1178 |
1179 friend class Rewriter; | |
1180 friend class Scope; | 1179 friend class Scope; |
1181 }; | 1180 }; |
1182 | 1181 |
1183 | 1182 |
1184 class Property: public Expression { | 1183 class Property: public Expression { |
1185 public: | 1184 public: |
1186 Property(Isolate* isolate, | 1185 Property(Isolate* isolate, |
1187 Expression* obj, | 1186 Expression* obj, |
1188 Expression* key, | 1187 Expression* key, |
1189 int pos) | 1188 int pos) |
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2177 | 2176 |
2178 private: | 2177 private: |
2179 Isolate* isolate_; | 2178 Isolate* isolate_; |
2180 bool stack_overflow_; | 2179 bool stack_overflow_; |
2181 }; | 2180 }; |
2182 | 2181 |
2183 | 2182 |
2184 } } // namespace v8::internal | 2183 } } // namespace v8::internal |
2185 | 2184 |
2186 #endif // V8_AST_H_ | 2185 #endif // V8_AST_H_ |
OLD | NEW |