forked from jasder/antlr
pull in additions by Sebastian Lang
This commit is contained in:
parent
1af14fb287
commit
846c7dafda
|
@ -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)
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue