IRISLIB database
CodeScanner Class Reference

Used to scan user code looking for code that may not work correctly due to use of unsupported features. More...

Inheritance diagram for CodeScanner:
Collaboration diagram for CodeScanner:

Static Public Member Functions

 Scan (_.Library.String SearchList)
 Used to scan user code looking for code that may not work correctly due to use of unsupported features. More...
 
 ScanAll (_.Library.String SearchList)
 Scan all namespaces on this system looking for code that may not work correctly due to use of unsupported features. More...
 
- Static Public Member Functions inherited from Help
_.Library.String Help (_.Library.String method)
 This is a helper class that is used by the various SYSTEM classes to provide a Help method. More...
 

Static Private Member Functions

 __SetupPatterns (_.Library.String patterns, _.Library.String info)
 Define the list of things to scan for. More...
 
 __searchClassNode (_.Library.String Name, _.Library.String ref, _.Library.String type, _.Library.String NewName, _.Library.String pattern, _.Library.Integer Found, _.Library.String Tree, _.Library.Boolean CaseSensitive, _.Library.Integer Max, _.Library.Boolean Wild)
 Search this class for the string.
 
_.Library.Boolean __searchItem (_.Library.String pattern, _.Library.String Name, _.Library.Integer Found, _.Library.Boolean wild, _.Library.Boolean CaseSensitive, _.Library.Integer Max, _.Library.String Pattern, _.Library.Boolean WholeWords)
 Search this specific items for the string.
 

Detailed Description

Used to scan user code looking for code that may not work correctly due to use of unsupported features.

Member Function Documentation

◆ Scan()

Scan ( _.Library.String  SearchList)
static

Used to scan user code looking for code that may not work correctly due to use of unsupported features.

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.

◆ ScanAll()

ScanAll ( _.Library.String  SearchList)
static

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.

◆ __SetupPatterns()

__SetupPatterns ( _.Library.String  patterns,
_.Library.String  info 
)
staticprivate

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