Lines Matching refs:token
3865 Token& token = (*mpTokenTable)[tok]; in add() local
3866 VariableInfo* pOldV = token.mpVariableInfo; in add()
3873 token.mpVariableInfo = pNewV; in add()
3879 Token& token = (*mpTokenTable)[tok]; in addStructTag() local
3880 VariableInfo* pOldS = token.mpStructInfo; in addStructTag()
3888 token.mpStructInfo = pNewS; in addStructTag()
5781 void decodeToken(String& buffer, tokenid_t token, bool quote) { in decodeToken() argument
5782 if (token == EOF ) { in decodeToken()
5784 } else if (token == TOK_NUM) { in decodeToken()
5786 } else if (token == TOK_NUM_FLOAT) { in decodeToken()
5788 } else if (token == TOK_NUM_DOUBLE) { in decodeToken()
5790 } else if (token >= 0 && token < 256) { in decodeToken()
5791 if (token < 32) { in decodeToken()
5792 buffer.printf("'\\x%02x'", token); in decodeToken()
5794 buffer.printf("'%c'", token); in decodeToken()
5798 if (token >= TOK_KEYWORD && token < TOK_SYMBOL) { in decodeToken()
5799 buffer.printf("keyword \"%s\"", nameof(token)); in decodeToken()
5801 buffer.printf("symbol \"%s\"", nameof(token)); in decodeToken()
5804 buffer.printf("%s", nameof(token)); in decodeToken()
5809 void printToken(tokenid_t token) { in printToken() argument
5811 decodeToken(buffer, token, true); in printToken()
5815 bool checkSymbol(tokenid_t token) { in checkSymbol() argument
5816 bool result = token >= TOK_SYMBOL; in checkSymbol()
5819 decodeToken(temp, token, true); in checkSymbol()