How does the YUI Compressor work?

Can you answer this question?



Answer
kamar rahi
kamar rahi
  • Answer written
  • 1 Year ago

The YUI Compressor is written in Java and relies on Rhino (an open-source scripting tool) to tokenize the source JavaScript file. It starts by analyzing the source JavaScript file to understand how it is structured. It then prints out the token stream, omitting as many white space characters as possible, and replacing all local symbols by a 1 (or 2, or 3) letter symbol wherever such a substitution is appropriate.


Unknown

Related Questions

Product Information
© analyzo.com