Class TypeDef

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Template parent  
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeDef​(java.lang.String name, TypeDescriptor<?> type, Template parent)
      Creates a typedef.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object accept​(IVisitor visitor)
      Accepts the visitor for visiting.
      Template getParent()
      Returns the parent element.
      • Methods inherited from class java.lang.Object

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

      • TypeDef

        public TypeDef​(java.lang.String name,
                       TypeDescriptor<?> type,
                       Template parent)
                throws VilException
        Creates a typedef.
        Parameters:
        name - the alias name
        type - the type to be used for name
        parent - the parent template
        Throws:
        VilException - if one of the arguments is invalid