forked from jasder/antlr
add in JavaScript case insensitive stream from bramp
This commit is contained in:
parent
8d2975fc99
commit
634b75acb9
|
@ -68,13 +68,6 @@ var CharStreams = {
|
|||
return new InputStream(data, true);
|
||||
},
|
||||
|
||||
toUpper: function(stream) {
|
||||
return new CaseInsensitiveInputStream(stream, true);
|
||||
},
|
||||
|
||||
toLower: function(stream) {
|
||||
return new CaseInsensitiveInputStream(stream, false);
|
||||
}
|
||||
};
|
||||
|
||||
exports.CharStreams = CharStreams;
|
||||
|
|
Loading…
Reference in New Issue