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

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

function ParenthesisExpression(expression) {
	this.expression = expression;
	return this;
};

ParenthesisExpression.prototype.toString = function() {
	return "(" + this.expression.toString() + ")";
};

ParenthesisExpression.prototype.toDialect = function(writer) {
    writer.append("(");
    this.expression.toDialect(writer);
    writer.append(")");
};

ParenthesisExpression.prototype.check = function(context) {
	return this.expression.check(context);
};

ParenthesisExpression.prototype.interpret = function(context) {
	return this.expression.interpret(context);
};

exports.ParenthesisExpression = ParenthesisExpression;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy