%SYSTEM.CodeScanner
class %SYSTEM.CodeScanner extends %SYSTEM.Help
Used to scan user code looking for code that may not work correctly due to use of unsupported features.Method Inventory (Including Private)
Methods (Including Private)
classmethod Scan(SearchList As %String = "*.*")
Scan this namespace looking for code that may not work correctly due to use of unsupported features.
You can pass an options SearchList argument which is a mask of which documents to search for.
classmethod ScanAll(SearchList As %String = "*.*")
Scan all namespaces on this system looking for code that may not work correctly due to use of unsupported features.
You can pass an options SearchList argument which is a mask of which documents to search for.
Define the list of things to scan for. The format is:
- patterns(num)=pattern
- patterns(num,"case")=case sensitive
- patterns(num,"version")=version customer will see the problem in
- patterns(num,"info")=description of the problem
- patterns(num,"whole")=whole word pattern match
private classmethod searchClassNode(Name As %String, ref As %String, type As %String, NewName As %String, pattern As %String, ByRef Found As %Integer, Tree As %String, CaseSensitive As %Boolean = 1, Max As %Integer = 200, Wild As %Boolean = 0)
Search this class for the string
private classmethod searchItem(pattern As %String, Name As %String, ByRef Found As %Integer = 0, wild As %Boolean = 0, CaseSensitive As %Boolean = 1, Max As %Integer = 200, Pattern As %String, WholeWords As %Boolean = 0) as %Boolean
Search this specific items for the string