Class CommandCollectorVisitor


  • public class CommandCollectorVisitor
    extends LanguageVisitor

    This visitor class will traverse a language object tree and collect all sub-commands it finds. It uses a List to collect the sub-commands in the order they're found.

    The easiest way to use this visitor is to call the static methods which create the visitor, run the visitor, and get the collection. The public visit() methods should NOT be called directly.