@Override
	public void defineToken(GrammarAST ID) {
		terminals.add(ID);
		tokenIDRefs.add(ID);
		tokensDefs.add(ID);
	}
Track action name node in @parser::members {...} or @members {...}
tool/src/org/antlr/v4/semantics/SymbolCollector.java