Home | History | Annotate | Download | only in testing

Lines Matching refs:token

24 // A token processor that builds messages and forward calls to the current
36 void ConsumeToken(std::string* token) override {
39 if (*token == "{") {
40 // This is the beginning of a new message, names after the previous token.
48 } else if (*token == "}") {
49 // A message is being completed. There should be no previous token. Note
60 } else if (*token == ":") {
61 // We reached the end of the 'key' portion of a field. Store the token
69 previous_token_.swap(*token);
71 // This is the 'value' portion of a field. The previous token is the
74 current_node->SetField(previous_token_, *token);