add a consumeNext helper
start to avoid token from params
refactor function parser
add comment
makes the parser api more consistent :
- avoid passing token as arg
- each parser MUST consume his own tokens