Class HutnTranslatorTest

    • Constructor Detail

      • HutnTranslatorTest

        public HutnTranslatorTest()
    • Method Detail

      • registerDefaultResourceFactory

        public static void registerDefaultResourceFactory()
      • initialiseAst

        protected static Ast initialiseAst()
      • createPackage

        protected static Node createPackage​(String name)
      • createPackage

        protected static Node createPackage​(String name,
                                            int line,
                                            int col)
      • createClass

        protected static Node createClass​(String name)
      • createClass

        protected static Node createClass​(String name,
                                          String identifier,
                                          int line,
                                          int col)
      • createIdentifier

        protected static Node createIdentifier​(String identifier)
      • createNullAttribute

        protected static Node createNullAttribute​(String name)
      • createEnumerationAttribute

        protected static Node createEnumerationAttribute​(String name,
                                                         String value)
      • createAttribute

        protected static Node createAttribute​(String name,
                                              Object... values)
      • createClassifierLevelAttribute

        protected static Node createClassifierLevelAttribute​(String classifier,
                                                             String attribute,
                                                             Object... values)
      • getNodeObjectFor

        protected static Node getNodeObjectFor​(Object value)
      • createAdjective

        protected static Node createAdjective​(String text)
      • createContainment

        protected static Node createContainment​(String name,
                                                Node... containedObjects)