Bug: currently parseParam() throws away tokens when returning true (as do the other parse functions), but some parse-statement methods will return false even after hreceiving a true value from parseParam.  This means tokens get lost and parse errors occur.