Home | History | Annotate | Download | only in src

Lines Matching refs:tok

217   static const char* Name(Value tok) {
218 ASSERT(0 <= tok && tok < NUM_TOKENS);
219 return name_[tok];
223 static bool IsAssignmentOp(Value tok) {
224 return INIT_VAR <= tok && tok <= ASSIGN_MOD;
250 static const char* String(Value tok) {
251 ASSERT(0 <= tok && tok < NUM_TOKENS);
252 return string_[tok];
257 static int Precedence(Value tok) {
258 ASSERT(0 <= tok && tok < NUM_TOKENS);
259 return precedence_[tok];