/** * Parses source read from {@code readable}. */ public final T parse(Readable readable) throws IOException { return parse(read(readable)); }
/** * Parses source read from {@code readable}. * * @param readable where the source is read from * @param moduleName the name of the module, this name appears in error message * @return the result * @deprecated Please use {@link #parse(Readable)} instead. */ @Deprecated public final T parse(Readable readable, String moduleName) throws IOException { return parse(read(readable), moduleName); }