method

post_key_check

post_key_check(key)
private

After we see a key, we must look ahead to determine our next action. Cases:

  [] follows the key. Then the value must be an array.
  = follows the key. (A value comes next)
  & or the end of string follows the key. Then the key is a flag.
  otherwise, a hash follows the key.