static parseWithRef(text, luResource) {
        if (text === undefined || text === '') {
            return new LUResource([], '', []);
        }

        const sectionEnabled = luResource ? this.isSectionEnabled(luResource.Sections) : undefined;

        return this.parse(text, sectionEnabled);
    }
@param {string} text 
@param {LUResource} luResource