Lines Matching refs:token_t
32 typedef int32_t token_t; typedef
37 token_t Token() const { return token_; } in Token()
63 std::string Name(token_t token) const;
80 static bool IsLocal(token_t token) { return token <= kLocalsStart; } in IsLocal()
81 static bool IsGlobal(token_t token) { return token >= kGlobalsStart; } in IsGlobal()
84 static size_t LocalIndex(token_t token) { in LocalIndex()
88 static size_t GlobalIndex(token_t token) { in GlobalIndex()
140 token_t token_;
141 token_t preceding_token_;
142 token_t next_token_; // Only set when in {rewind} state.
149 std::unordered_map<std::string, token_t> local_names_;
150 std::unordered_map<std::string, token_t> global_names_;
151 std::unordered_map<std::string, token_t> property_names_;