asdx
Class DefinedUsed

java.lang.Object
  extended by asdx.DefinedUsed

public class DefinedUsed
extends java.lang.Object

Cross references ASD grammar files and the phrase types defined and used in them. It examines grammars in files whose names are listed second through last in lines from System.in. It finds all of the phrase types defined in those grammars, lists all of those phrase types alphabetically, and for each of them lists alphabetically (1) the modules in which that phrase type is defined and (2) the modules in which that phrase type is used. Also: It lists the names of all of the grammar files examined, and for each, it lists the names of the other files which define phrase types that are used in the given file (i.e., the files on which the given file "depends"). Finally: it lists the names of all of the grammar files examined, and for each it lists the names of the other files which use phrase types that are defined in the given file (i.e., the files which the given file "supports").

Command line usage (using redirection of system input and output):
java asdx/DefinedUsed < buildList.txt > output.txt
where buildList.txt contains a list of file names, one per grammar, on separate lines, as for the MergeGrammars utility. Note: This program ignores the first line in the list (which for MergeGrammars is the name for the resulting merged file).

Author:
James A. Mason

Constructor Summary
DefinedUsed()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefinedUsed

public DefinedUsed()
Method Detail

main

public static void main(java.lang.String[] args)