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

js.prompto.expression.SelectorExpression.js Maven / Gradle / Ivy

var UnresolvedIdentifier;

exports.resolve = function() {
    UnresolvedIdentifier = require("./UnresolvedIdentifier").UnresolvedIdentifier;
}

function SelectorExpression(parent) {
	this.parent = parent || null;
	return this;
}

SelectorExpression.prototype.checkParent = function(context) {
    if (this.parent instanceof UnresolvedIdentifier)
        return this.parent.checkMember(context);
    else
        return this.parent.check(context);
};


exports.SelectorExpression = SelectorExpression;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy