vash
Version:
Razor syntax for JS templating
15 lines (13 loc) • 375 B
JavaScript
var Node = module.exports = function IndexExpressionNode() {
this.type = 'VashIndexExpression';
this.values = [];
this.startloc = null;
this.endloc = null;
this._waitingForEndQuote = null;
this._waitingForHardParenClose = null;
}
Node.prototype.endOk = function() {
return (this._waitingForEndQuote || this._waitingForHardParenClose)
? false
: true;
}