All Downloads are FREE. Search and download functionalities are using the official Maven repository.

js.prompto.literal.DictEntry.js Maven / Gradle / Ivy

function DictEntry(key, value) {
	this.key = key;
	this.value = value;
	return this;
}

DictEntry.prototype.toString = function() {
	return this.key.toString() + ':' + this.value.toString();
};

DictEntry.prototype.toDialect = function(writer) {
    this.key.toDialect(writer);
    writer.append(':');
    this.value.toDialect(writer);
};

exports.DictEntry = DictEntry;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy