Too Long; Didn't Read
V8_INLINE Token::Scanner::ScanSingleToken() is the start of scanning the token. We already know that c0_ has already pointed to the first character of the JS stream during initialization. The next step is to analyze whether the token is a keyword or an identifier. Figure 1 is the call stack of these methods, Figure 2 is the variable window, we can see that the one_byte_char is c0. Figure 3 shows that these eight characters are exactly the first string — — — function JsPrint.