| 1581 | |
| 1582 | == `[JSBuiltin JSBuiltinConstructor]`(i) == #JSBuiltin |
| 1583 | |
| 1584 | Standard: This is a non-standard attribute. |
| 1585 | |
| 1586 | Summary: If JSBuiltin is set, it tells the code generator to implement the corresponding method as a JS builtin. If JSBuiltinConstructor is set, a JS builtin constructor function is called. |
| 1587 | |
| 1588 | Usage: given a IDL file called XX.idl, a corresponding XX.js file should be created containing a JS function with the same method name in the case of JSBuiltin or a JS function with the name 'initializeXX' in the case of JSBuiltinConstructor. |
| 1589 | |