Package examples.demo

Class TranslateAst


  • public class TranslateAst
    extends RunTests
    A demonstration of how to use AST callback functions to translate the AST. The source code should be consulted for details.
    • Constructor Summary

      Constructors 
      Constructor Description
      TranslateAst​(java.lang.String testName, java.io.PrintStream out)
      Constructor for the test.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TranslateAst

        public TranslateAst​(java.lang.String testName,
                            java.io.PrintStream out)
        Constructor for the test. Parameters are supplied explicitly or by default from the command line to the driver function.
        Parameters:
        testName - the name of the test
        out - the output device