Helper function to get metadata for a token by its type name.
The name of the token type (e.g., 'SELECT', 'IRIREF')
The metadata for the token, or undefined if not found
Helper function to get metadata for a token by its type name.