I am reading “The Definitive ANTLR 4 Reference.” I have a question in the section of 4.4 Embedding Arbitrary Actions in a Grammar (p.48).
~~~ $ java Col 1 < t.rows ~~~
I get lost here. Here are my questions: i) Why is there a “<” sign here? ii) What is the “tokens” like in this example out of “CommonTokenStream tokens = new CommonTokenStream(lexer);” iii) How does the method of RowsParser(TokenStream input, int col) work here?
Thank you for your time and help!