Lines Matching refs:ebnf_check_token
274 function ebnf_check_token($token, $type, $value) {
289 if (!ebnf_check_token($token, EBNF_OPERATOR_TOKEN, '{') )
295 } $i++; if (!ebnf_check_token($token, EBNF_OPERATOR_TOKEN, '}'))
314 if (!ebnf_check_token($token, EBNF_OPERATOR_TOKEN, "="))
318 if (!ebnf_check_token($token, EBNF_OPERATOR_TOKEN, '.')
319 && !ebnf_check_token($token, EBNF_OPERATOR_TOKEN, ';'))
328 while (ebnf_check_token($token, EBNF_OPERATOR_TOKEN, '|')) {
357 } if (ebnf_check_token($token, EBNF_OPERATOR_TOKEN, '(')) {
360 if (!ebnf_check_token($token, EBNF_OPERATOR_TOKEN, ')'))
363 } if (ebnf_check_token($token, EBNF_OPERATOR_TOKEN, '[')) {
367 if (!ebnf_check_token($token, EBNF_OPERATOR_TOKEN, ']'))
370 } if (ebnf_check_token($token, EBNF_OPERATOR_TOKEN, '{')) {
374 if (!ebnf_check_token($token, EBNF_OPERATOR_TOKEN, '}'))