28#if OO_OXP_VERIFIER_ENABLED
36static NSString *
const kStageName =
@"Checking JS Script file syntax";
51 fileScanner = [[
self verifier] fileScannerStage];
52 return ([[fileScanner filesInFolder:
@"Scripts"]
count] > 0);
59 NSArray *scriptFiles =
nil;
60 NSString *scriptFile =
nil;
61 NSString *fileExt =
nil;
62 NSString *filePath =
nil;
64 fileScanner = [[
self verifier] fileScannerStage];
67 if (scriptFiles ==
nil)
return;
71 foreach (scriptFile, scriptFiles)
73 fileExt = [[scriptFile pathExtension] lowercaseString];
74 if ([fileExt isEqualToString:
@"js"] || [fileExt isEqualToString:
@"es"])
static NSString *const kStageName
static NSString *const kStageName
NSString * pathForFile:inFolder:referencedFrom:checkBuiltIn:(NSString *file,[inFolder] NSString *folder,[referencedFrom] NSString *context,[checkBuiltIn] BOOL checkBuiltIn)
NSArray * filesInFolder:(NSString *folder)
id scriptWithPath:properties:(NSString *path,[properties] NSDictionary *properties)
void setShowErrorLocations:(BOOL value)
OOJavaScriptEngine * sharedEngine()