How are listener methods in antlr4 are being called if root rule does not reference all rules in grammar? For example, my grammar is: