mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-29 10:02:14 +00:00
Implement the class language element part II. (#203)
Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
parent
d9976037ce
commit
1fc56fcf9a
54 changed files with 2002 additions and 100 deletions
|
|
@ -40,6 +40,13 @@ const char* errorMessage_Get_FromNull = "Cannot get property '%s' of null";
|
|||
const char* errorMessage_Set_ToUndefined = "Cannot set property '%s' of undefined";
|
||||
const char* errorMessage_Set_ToNull = "Cannot set property '%s' of null";
|
||||
const char* errorMessage_New_NotConstructor = "%s is not a constructor";
|
||||
const char* errorMessage_New_Target_Is_Undefined = "NewTarget is undefined";
|
||||
const char* errorMessage_Class_Prototype_Is_Not_Object_Nor_Null = "Class extends object prototype property is not object nor null";
|
||||
const char* errorMessage_Class_Extends_Value_Is_Not_Object_Nor_Null = "Class extends value is not object nor null";
|
||||
const char* errorMessage_Initialized_This_Binding = "Super constructor may only be called once";
|
||||
const char* errorMessage_UnInitialized_This_Binding = "Must call super constructor in derived class before accessing 'this' or returning from derived constructor";
|
||||
const char* errorMessage_No_Super_Binding = "Invalid super binding";
|
||||
const char* errorMessage_InvalidDerivedConstructorReturnValue = "Derived constructors may only return object or undefined";
|
||||
const char* errorMessage_InstanceOf_NotFunction = "Invalid operand to 'instanceof': right expr is not a function object";
|
||||
const char* errorMessage_InstanceOf_InvalidPrototypeProperty = "instanceof called on an object with an invalid prototype property";
|
||||
const char* errorMessage_ArgumentsOrCaller_InStrictMode = "'caller' and 'arguments' are restricted function properties and cannot be accessed in this context.";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue