Adds expect method

It checks the next token, and if it's one of 
the expected it calls the corresponding block.
If a catch-all is added, it will be used.