public void writeTo(WordWriter out)
        throws IOException {
        if(!prepared)
            throw new IllegalStateException("prepare method must be called before writeTo");
        for(PositionedResolvable pr : resolvablesList) {
            Resolvable r = pr.getResolvable();
            if(r != null)
                r.writeTo(out);
        }
    }