This commit is contained in:
parrt 2017-03-29 15:04:19 -07:00
parent 40e1072e7e
commit ad3b43459d
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 = new CharStreams.fromString(input);
ICharStream stream = CharStreams.fromString(input);
ITokenSource lexer = new MyGrammarLexer(stream);
ITokenStream tokens = new CommonTokenStream(lexer);
MyGrammarParser parser = new MyGrammarParser(tokens);