prompto.intrinsic.AttributeInfo.js Maven / Gradle / Ivy
The newest version!
function AttributeInfo(name, family, collection, indexTypes) {
this.name = name
this.family = family
this.collection = collection
this.key = indexTypes == null ? false : indexTypes.indexOf("key")>=0;
this.value = indexTypes == null ? false : indexTypes.indexOf("value")>=0;
this.words = indexTypes == null ? false : indexTypes.indexOf("words")>=0;
return this;
};
AttributeInfo.prototype.toTranspiled = function() {
var indices = "null";
return "new AttributeInfo('" + this.name + "', TypeFamily." + this.family.name + ", " + this.collection + ", " + indices + ")";
};
© 2015 - 2024 Weber Informatics LLC | Privacy Policy