Changeset 197296 in webkit for trunk/Source/JavaScriptCore/parser/ParserModes.h
- Timestamp:
- Feb 28, 2016, 11:14:26 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/ParserModes.h
r197043 r197296 159 159 const CodeFeatures ArrowFunctionFeature = 1 << 8; 160 160 const CodeFeatures ArrowFunctionContextFeature = 1 << 9; 161 const CodeFeatures SuperCallFeature = 1 << 10; 162 const CodeFeatures SuperPropertyFeature = 1 << 11; 161 163 162 const CodeFeatures AllFeatures = EvalFeature | ArgumentsFeature | WithFeature | ThisFeature | StrictModeFeature | ShadowsArgumentsFeature | ModifiedParameterFeature | ArrowFunctionFeature | ArrowFunctionContextFeature; 164 const CodeFeatures AllFeatures = EvalFeature | ArgumentsFeature | WithFeature | ThisFeature | StrictModeFeature | ShadowsArgumentsFeature | ModifiedParameterFeature | ArrowFunctionFeature | ArrowFunctionContextFeature | 165 SuperCallFeature | SuperPropertyFeature; 163 166 167 typedef uint8_t InnerArrowFunctionCodeFeatures; 168 169 const InnerArrowFunctionCodeFeatures NoInnerArrowFunctionFeatures = 0; 170 const InnerArrowFunctionCodeFeatures EvalInnerArrowFunctionFeature = 1 << 0; 171 const InnerArrowFunctionCodeFeatures ArgumentsInnerArrowFunctionFeature = 1 << 1; 172 const InnerArrowFunctionCodeFeatures ThisInnerArrowFunctionFeature = 1 << 2; 173 const InnerArrowFunctionCodeFeatures SuperCallInnerArrowFunctionFeature = 1 << 3; 174 const InnerArrowFunctionCodeFeatures SuperPropertyInnerArrowFunctionFeature = 1 << 4; 175 const InnerArrowFunctionCodeFeatures NewTargetInnerArrowFunctionFeature = 1 << 5; 176 177 const InnerArrowFunctionCodeFeatures AllInnerArrowFunctionCodeFeatures = EvalInnerArrowFunctionFeature | ArgumentsInnerArrowFunctionFeature | ThisInnerArrowFunctionFeature | SuperCallInnerArrowFunctionFeature | SuperPropertyInnerArrowFunctionFeature | NewTargetInnerArrowFunctionFeature; 164 178 } // namespace JSC 165 179
Note:
See TracChangeset
for help on using the changeset viewer.