public AstType getType()
        {
            AstType type = m_stable.getTypeDef(getName());
            if (type == null)
                {
                type = m_stable.getType(getName());
                if (type == null)
                    {
                    reportTypeError(getName() + " is undefined",
                                    m_token,
                                    specObject,
                                    property
                    );
                    return new AstType();
                    }
                if (type.isUndefined())
                    {
                    reportTypeError(getName() + " is undefined",
                                    m_token,
                                    specObject,
                                    property
                    );
                    return new AstType();
                    }
                }
            return type;
        }