pull in additions by Sebastian Lang

This commit is contained in:
parrt 2017-12-06 12:22:11 -08:00
parent 1af14fb287
commit 846c7dafda
3 changed files with 1 additions and 11 deletions

View File

@ -75,4 +75,4 @@ Here are implementations of `CaseChangingCharStream` in various target languages
* [Java](https://github.com/parrt/antlr4/blob/case-insensitivity-doc/doc/resources/CaseChangingCharStream.java)
* [JavaScript](https://github.com/parrt/antlr4/blob/case-insensitivity-doc/doc/resources/CaseInsensitiveInputStream.js)
* [Go](https://github.com/parrt/antlr4/blob/case-insensitivity-doc/doc/resources/case_changing_stream.go)
* [C#](https://github.com/parrt/antlr4/blob/case-insensitivity-doc/doc/resources/)
* [C#](https://github.com/parrt/antlr4/blob/case-insensitivity-doc/doc/resources/CaseChangingCharStream.cs)

View File

@ -89,15 +89,5 @@ namespace Antlr4.Runtime
{
return new CodePointCharStream(s);
}
public static ICharStream toUpper(ICharStream inStream)
{
return new CaseChangingCharStream(inStream, true);
}
public static ICharStream toLower(ICharStream inStream)
{
return new CaseChangingCharStream(inStream, false);
}
}
}