Class Strip


  • public class Strip
    extends Object
    A basic action stripper.
    • Field Detail

      • filename

        protected String filename
      • tokens

        protected org.antlr.runtime.TokenRewriteStream tokens
      • tree_option

        protected boolean tree_option
      • args

        protected String[] args
    • Constructor Detail

      • Strip

        public Strip​(String[] args)
    • Method Detail

      • getTokenStream

        public org.antlr.runtime.TokenRewriteStream getTokenStream()
      • rewrite

        public void rewrite​(org.antlr.runtime.tree.TreeAdaptor adaptor,
                            org.antlr.runtime.tree.CommonTree t,
                            String[] tokenNames)
                     throws Exception
        Throws:
        Exception
      • ACTION

        public static void ACTION​(org.antlr.runtime.TokenRewriteStream tokens,
                                  org.antlr.runtime.tree.CommonTree t)
      • processArgs

        public void processArgs​(String[] args)