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

js.prompto.grammar.Specificity.js Maven / Gradle / Ivy

function Specificity(ordinal) {
	this.ordinal = ordinal;
	return this;
}

Specificity.INCOMPATIBLE = new Specificity(0);
Specificity.RESOLVED = new Specificity(1);
Specificity.INHERITED = new Specificity(2);
Specificity.EXACT = new Specificity(3);

Specificity.prototype.greaterThan = function(other) {
	return this.ordinal > other.ordinal;
}

exports.Specificity = Specificity;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy