refactor to ast_action for generated parser

all actions go into ast_action.h/.cpp. parser_node/ast_node won't care
about that, only parser.cpp need the info