You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -382,7 +382,7 @@ var es5_visitors = (function() {
382
382
arg1=path.node.arguments[1];
383
383
}else{
384
384
throw{
385
-
message: "JSParser Error: Not enough or too many arguments passed("+path.node.arguments.length+") when trying to extend interface: "+interfaceName+" in file: "+config.filePath,
385
+
message: "JSParser Error: Not enough or too many arguments passed("+path.node.arguments.length+") when trying to extend interface: "+interfaceName+" in file: "+config.fullPathName,
386
386
errCode: 1
387
387
}
388
388
}
@@ -460,15 +460,15 @@ var es5_visitors = (function() {
460
460
// don't throw here, because there can be a valid js extend that has nothing to do with NS
461
461
return;
462
462
throw{
463
-
message: "JSParser Error: Not enough or too many arguments passed("+extendArguments.length+") when trying to extend class: "+extendClass+" in file: "+config.filePath,
463
+
message: "JSParser Error: Not enough or too many arguments passed("+extendArguments.length+") when trying to extend class: "+extendClass+" in file: "+config.fullPathName,
464
464
errCode: 1
465
465
}
466
466
}
467
467
}else{
468
468
// don't throw here, because there can be a valid js extend that has nothing to do with NS
469
469
return;
470
470
throw{
471
-
message: "JSParser Error: You need to call the extend with parameters. Example: '...extend(\"a.b.C\", {...overrides...})') for class: "+extendClass+" in file: "+config.filePath,
471
+
message: "JSParser Error: You need to call the extend with parameters. Example: '...extend(\"a.b.C\", {...overrides...})') for class: "+extendClass+" in file: "+config.fullPathName,
472
472
errCode: 1
473
473
}
474
474
}
@@ -484,7 +484,7 @@ var es5_visitors = (function() {
message: "JSParser Error: The 'extend' you are trying to make has an invalid name. Example: '...extend(\"a.b.C\", {...overrides...})'), for class: "+extendClass+" file: "+config.filePath,
487
+
message: "JSParser Error: The 'extend' you are trying to make has an invalid name. Example: '...extend(\"a.b.C\", {...overrides...})'), for class: "+extendClass+" file: "+config.fullPathName,
488
488
errCode: 1
489
489
}
490
490
}
@@ -517,7 +517,7 @@ var es5_visitors = (function() {
517
517
// don't throw here, because there can be a valid js extend that has nothing to do with NS
518
518
return;
519
519
throw{
520
-
message: "JSParser Error: You need to call the extend '...extend(\"extend_name\", {...overrides...})'), for class: "+extendClass+" file: "+config.filePath,
520
+
message: "JSParser Error: You need to call the extend '...extend(\"extend_name\", {...overrides...})'), for class: "+extendClass+" file: "+config.fullPathName,
521
521
errCode: 1
522
522
}
523
523
}
@@ -647,7 +647,7 @@ var es5_visitors = (function() {
647
647
varo=extendedClass.node.arguments[0];
648
648
}else{
649
649
throw{
650
-
message: "JSParser Error: Node type is not a call expression. File="+config.filePath+" line="+path.node.loc.start.line,
650
+
message: "JSParser Error: Node type is not a call expression. File="+config.fullPathName+" line="+path.node.loc.start.line,
651
651
errCode: 1
652
652
}
653
653
}
@@ -669,19 +669,19 @@ var es5_visitors = (function() {
669
669
returnpath.parent.arguments[0].value;
670
670
}else{
671
671
throw{
672
-
message: "JSParser Error: The first argument '"+classNameFromDecorator+"' of the "+customDecoratorName+" decorator is not following the right pattern which is: '[namespace.]ClassName'. Example: '"+customDecoratorName+"(\"a.b.ClassName\", {overrides...})', file: "+config.filePath,
672
+
message: "JSParser Error: The first argument '"+classNameFromDecorator+"' of the "+customDecoratorName+" decorator is not following the right pattern which is: '[namespace.]ClassName'. Example: '"+customDecoratorName+"(\"a.b.ClassName\", {overrides...})', file: "+config.fullPathName,
673
673
errCode: 1
674
674
}
675
675
}
676
676
}else{
677
677
throw{
678
-
message: "JSParser Error: No arguments passed to "+customDecoratorName+" decorator. Example: '"+customDecoratorName+"(\"a.b.ClassName\", {overrides...})', file: "+config.filePath,
678
+
message: "JSParser Error: No arguments passed to "+customDecoratorName+" decorator. Example: '"+customDecoratorName+"(\"a.b.ClassName\", {overrides...})', file: "+config.fullPathName,
679
679
errCode: 1
680
680
}
681
681
}
682
682
}else{
683
683
throw{
684
-
message: "JSParser Error: Decorator "+customDecoratorName+" must be called with parameters: Example: '"+customDecoratorName+"(\"a.b.ClassName\", {overrides...})', file: "+config.filePath,
684
+
message: "JSParser Error: Decorator "+customDecoratorName+" must be called with parameters: Example: '"+customDecoratorName+"(\"a.b.ClassName\", {overrides...})', file: "+config.fullPathName,
685
685
errCode: 1
686
686
}
687
687
}
@@ -711,7 +711,7 @@ var es5_visitors = (function() {
711
711
function_getParent(node,numberOfParents,config){
712
712
if(!node){
713
713
throw{
714
-
message: "JSParser Error: No parent found for node in file: "+config.filePath,
714
+
message: "JSParser Error: No parent found for node in file: "+config.fullPathName,
0 commit comments