This tag is used for documented features of a compiler or interpreter implementation that are not described by the language standard, as well as for the implementation of such features, and for the provision of language features (e. g. syntax highlighting) in an IDE.
Questions tagged [language-extension]
48 questions
0
votes
0 answers
What syntax exactly is supported for JS resources imported from QML?
I used to think that, when you import a JS resource from QML, this JS file can contain only standard JS code. Then I came across 2 exceptions:
the .import statement
the property keyword (in JS), which seems to be only used in code-behind files and…

Stefan Monov
- 11,332
- 10
- 63
- 120
0
votes
2 answers
JavaScript language extensions with function calls lacking parenthesis - are they possible?
Is it possible, by any means, to do something like this:
function A() {
var Loaded = 'loaded';
raise Loaded;
}
function A_raise(evt) {
console.log(evt);
}
A.prototype.constructor = A;
A.prototype.raise = A_raise;
The critical part being…

CoryG
- 2,429
- 3
- 25
- 60
0
votes
1 answer
Is it possible to write windows and directx code with language extensions off?
I've got extensions off on my project but have to turn them on for any cpp file that includes directx or windows headers.
If I turn extensions off on those cpp files it won't compile. Is there a way to get this to work?
With language extensions…

EddieV223
- 5,085
- 11
- 36
- 38