<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def tokenize_argument(text):
 """Process both optional and required arguments. :param Buffer text: iterator over line, with current position """

    for delim in ARG_TOKENS:
        if text.startswith(delim):
            return text.forward(len(delim))