Use consistent shadows across Geany
[geany-mirror.git] / tests / ctags / js-signature.js
blob9866f57a51b039894814e4d546bbe82d2dcf25be
2 function f1() {
4 function f2(arg1, arg2) {
6 function f3(
7   arg1, // first
8   arg2, // second
9   arg3  // last
10 ) {
11   // ...
13 function f4(a, b, c) {
16 function Cls(name) {
17   this.name = name;
19 Cls.prototype = {
20   get_name: function() {
21     return this.name;
22   },
23   set_name: function(name) {
24     this.name = name;
25   },
28 Cls.prototype.hello = function(tpl) {
29   if (tpl == undefined) tpl = "hello {}";
30   return tpl.replace ('{}', this.name);
33 main = function() {
34   c = new Cls("John");
35   print(c.hello());
38 main();