Charstreams.fromString -> Charstreams.fromstring

This commit is contained in:
Erik A. Brandstadmoen 2017-06-11 23:58:01 +02:00
parent 85154d06ee
commit 2ff746493e
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ using Antlr4.Runtime;
public void MyParseMethod() {
String input = "your text to parse here";
ICharStream stream = CharStreams.fromString(input);
ICharStream stream = CharStreams.fromstring(input);
ITokenSource lexer = new MyGrammarLexer(stream);
ITokenStream tokens = new CommonTokenStream(lexer);
MyGrammarParser parser = new MyGrammarParser(tokens);