Strip - strip a grammar to just the grammar components

Skip to end of metadata
Go to start of metadata

Strip

As of ANTLR v3.1.2.
(copied from the release notes)

To strip a grammar down to just the grammar components do this:

If T.g is:

you'll get the following output

Labels: