What is the UA Assistant?


The UA Assistant is a standalone tool that provides a means to validate your user defined packages for UA languages. The UA Assistant will enable you to check that your language packages are correct and conform to required standards before they are imported into the CAST Knowledge Base, thus avoiding errors during an analysis.

A package consists of a directory whose name is the same as the language name (represented by xxx below). This directory must contain the following XML files (named exactly as shown below) that describe the language to be processed by the Universal Analyzer:

  • xxxMetaModel.xml > a metamodel that describes objects defined in the language together with their characteristics and properties
  • xxxLanguagePattern.xml > a language pattern file that describes how to recognize objects within source files using regular expressions
  • xxxInformationTracking.xml > an optional file used to reduce the number of incorrect links detected during the analysis of your language with CAST Universal Analyzer
  • a set of image icons associated with your language's objects - icons are located in a Res subdirectory (a subdirectory of the main package directory). The title of the icon file must match the name of the object.

For example for PHP:

The UA Assistant requires no connection with the CAST Knowledge Base and does not install anything in the Knowledge Base. Once a package has been validated and saved, use CAST Server Manager to install or refresh it within the CAST Knowledge Base using the Load MetaModel > From Disk command on the selected database/schema.

See Also

Main Window | Pattern Preview Window


CAST Website