Lines Matching refs:token_t
33 using token_t = int32_t;
38 token_t Token() const { return token_; }
64 std::string Name(token_t token) const;
81 static bool IsLocal(token_t token) { return token <= kLocalsStart; }
82 static bool IsGlobal(token_t token) { return token >= kGlobalsStart; }
85 static size_t LocalIndex(token_t token) {
89 static size_t GlobalIndex(token_t token) {
144 token_t token_;
145 token_t preceding_token_;
146 token_t next_token_; // Only set when in {rewind} state.
153 std::unordered_map<std::string, token_t> local_names_;
154 std::unordered_map<std::string, token_t> global_names_;
155 std::unordered_map<std::string, token_t> property_names_;