public void add(AstBase n)
        {
            if (n instanceof AstClassHeader)
                {
                m_className = ((AstClassHeader) n).m_className;
                m_formalParameters = ((AstClassHeader) n).m_formalParameters;
                }
            else if (n instanceof AstVisibilityList)
                {
                m_visibilityList = (AstVisibilityList) n;
                }
            else if (n instanceof AstInheritedClass)
                {
                m_inheritedClasses.add(n);
                }
            else if (n instanceof AstVector)
                {
                m_inheritedClasses = ((AstVector) n).m_list;
                }
            else if (n instanceof AstBasicTypeDefinition)
                {
                m_localDefinitions.add(n);
                }
            else if (n instanceof AstAxiomaticDefinition)
                {
                m_localDefinitions.add(n);
                }
            else if (n instanceof AstAbbreviationDefinition)
                {
                m_localDefinitions.add(n);
                }
            else if (n instanceof AstFreeTypeDefinition)
                {
                m_localDefinitions.add(n);
                }
            else if (n instanceof AstState)
                {
                m_state = (AstState) n;
                }
            else if (n instanceof AstInitialState)
                {
                m_initialState = (AstInitialState) n;
                }
            else if (n instanceof AstOperation)
                {
                m_operations.add(n);
                }
            else
                {
                super.add(n);
                }
        }