all files / src/detector/ color-detector-result.js

100% Statements 9/9
100% Branches 2/2
100% Functions 2/2
100% Lines 5/5
1 statement, 1 branch Ignored     
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                  160732× 160732×        
/**
 * 色表現の検出結果を提供します。
 */
class ColorDetectorResult {
    /**
     * インスタンスを初期化します。
     * @param {String} type 色表現種類。
     * @param {String} expression 表現。
     */
    constructor(type, expression) {
        this.type = type;
        this.expression = expression;
    }
}
 
export { ColorDetectorResult };