ReactionParser.js

//@ts-check
const Reaction = require('./Reaction')

class ReactionParser {
    /**
     * Returns the hex code of a color associated with a key from the current theme.
     *
     * @param {String} reactionSmiles A reaction SMILES.
     * @returns {Reaction} A reaction object.
     */
    static parse(reactionSmiles) {
        let reaction = new Reaction(reactionSmiles);

        return reaction;
    }
}

module.exports = ReactionParser;