This PR has added a action attribute to the ParserKeywords

The default is obviously to internalize the keyword, but the attribute can be used request different behaviour.