Lines Matching defs:token

85     int token;			/* Type of the last token to be parsed from
92 * The token types are defined below. In addition, there is a table
139 * Precedence table. The values for non-operator token types are ignored.
429 * an error message. In the event of a successful return, the token
432 * token; if the token is a value, then the value is stored at
460 infoPtr->token = END;
466 * First try to parse the token as an integer or floating-point number.
482 infoPtr->token = VALUE;
494 infoPtr->token = VALUE;
511 infoPtr->token = VALUE;
525 infoPtr->token = VALUE;
547 infoPtr->token = VALUE;
557 infoPtr->token = VALUE;
567 infoPtr->token = OPEN_PAREN;
571 infoPtr->token = CLOSE_PAREN;
575 infoPtr->token = COMMA;
579 infoPtr->token = MULT;
583 infoPtr->token = DIVIDE;
587 infoPtr->token = MOD;
591 infoPtr->token = PLUS;
595 infoPtr->token = MINUS;
599 infoPtr->token = QUESTY;
603 infoPtr->token = COLON;
610 infoPtr->token = LEFT_SHIFT;
614 infoPtr->token = LEQ;
617 infoPtr->token = LESS;
626 infoPtr->token = RIGHT_SHIFT;
630 infoPtr->token = GEQ;
633 infoPtr->token = GREATER;
641 infoPtr->token = EQUAL;
643 infoPtr->token = UNKNOWN;
650 infoPtr->token = NEQ;
652 infoPtr->token = NOT;
659 infoPtr->token = AND;
661 infoPtr->token = BIT_AND;
666 infoPtr->token = BIT_XOR;
672 infoPtr->token = OR;
674 infoPtr->token = BIT_OR;
679 infoPtr->token = BIT_NOT;
688 infoPtr->token = UNKNOWN;
705 * InfoPtr->token will be left pointing to the token AFTER the
707 * after the terminating token.
721 * will be called to get first token
757 if (infoPtr->token == OPEN_PAREN) {
767 if (infoPtr->token != CLOSE_PAREN) {
774 if (infoPtr->token == MINUS) {
775 infoPtr->token = UNARY_MINUS;
777 if (infoPtr->token == PLUS) {
778 infoPtr->token = UNARY_PLUS;
780 if (infoPtr->token >= UNARY_MINUS) {
786 operator = infoPtr->token;
787 result = ExprGetValue(interp, infoPtr, precTable[infoPtr->token],
842 } else if (infoPtr->token != VALUE) {
858 operator = infoPtr->token;
925 if (infoPtr->token != COLON) {
941 if (infoPtr->token != COLON) {
963 if ((infoPtr->token < MULT) && (infoPtr->token != VALUE)
964 && (infoPtr->token != END) && (infoPtr->token != COMMA)
965 && (infoPtr->token != CLOSE_PAREN)) {
1412 if (info.token != END) {
1652 * to the character just after the function call, the token is
1696 if (infoPtr->token != OPEN_PAREN) {
1717 if ((result != TCL_OK) || (infoPtr->token != CLOSE_PAREN)) {
1762 if (infoPtr->token == CLOSE_PAREN) {
1765 if (infoPtr->token == COMMA) {
1772 if (infoPtr->token != COMMA) {
1773 if (infoPtr->token == CLOSE_PAREN) {
1785 infoPtr->token = VALUE;
1807 infoPtr->token = VALUE;