Mozilla uses a language called IDL (Interface Definition Language) to define interfaces for objects that are used in multilingual contexts such as C ++ and JavaScript. It compiles into code in these two languages ββand, therefore, allows developers working on a project to have a single definition for their interfaces in any number of languages ββthat they would like. No, this is not standard C ++ code; it is something completely different.
In the corresponding note, the interface and readonly are also not C ++ keywords .:-)
templatetypedef
source share