This command lists the entities in an uncompiled (Source) XML Eduction grammar file or a compiled ECR grammar file. Listing the contents of an XML file lists all entities in the file, both private and public. Listing the contents of a compiled ECR file lists all public entities. Private entities not referenced by the public entities are removed from the compiled ECR file.
To enable this feature, type edktool l <grammarfile>
at the command line.
The following table describes the optional parameters for this command.
-a
|
This option lists the license requirements for a particular compiled grammar file, as well as the components that the entity can return. For example, the following output:
indicates that the user must be licensed for either English or French in the place category. If multiple lines appear, then the license must satisfy the conditions in every line. |
-q
|
Run in quiet mode. In this case, edktool removes all descriptive messages from the output and shows the entity list only. The output includes components if you also set the -a parameter. |
To list all public entities in the compiled grammar file mygrammar.ecr
:
edktool list mygrammar.ecr
|