Major improvements in the XQuery syntax checking infrastructure.

This commit is contained in:
William Candillon 2012-04-04 13:38:19 +02:00
commit 667fb57f7a
2 changed files with 1680 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,28 @@
define(function(require, exports, module){
var org = require("./antlr3-all").org;
var XQDTLexer = exports.XQDTLexer = function(input, state)
{
XQDTLexer.superclass.constructor.call(this, input, state);
};
org.antlr.lang.extend(XQDTLexer, org.antlr.runtime.Lexer, {
isWsExplicit: false,
setIsWsExplicit: function (wsExplicit) {
isWsExplicit = wsExplicit;
},
addToStack: function (stack) {
stack.push(this);
},
rewindToIndex: function(index) {
var stream = this.input;
stream.seek(index);
}
});
});