All files / src/Ice Property.js

100% Statements 20/20
100% Branches 3/3
100% Functions 2/2
100% Lines 20/20

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2141x 41x 41x 41x 1886x 1886x 1886x 1886x 1886x 1886x 41x 41x 41x 41x 820x 820x 820x 820x 820x 41x  
// Copyright (c) ZeroC, Inc.
 
export class Property {
    constructor(pattern, usesRegex, defaultValue, deprecated, propertyArray) {
        this.pattern = pattern;
        this.usesRegex = usesRegex;
        this.defaultValue = defaultValue;
        this.deprecated = deprecated;
        this.propertyArray = propertyArray;
    }
}
 
export class PropertyArray {
    constructor(name, prefixOnly, isOptIn, properties) {
        this.name = name;
        this.prefixOnly = prefixOnly;
        this.isOptIn = isOptIn;
        this.properties = properties;
    }
}