mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
1eb6516385
Moving methods that refer to constant to the header that defines the constants makes it infeasible to #define the constants at the end of the header. To avoid introducing a new pass over the Java AST, this patch turns the primitive constants that were previously #defined into C++ contants, which, according to Stroustrup 3rd ed., are handled at compile-time and don't consume storage. MozReview-Commit-ID: JnaDgW2OM7t --HG-- extra : rebase_source : 3678d8db967e83d8b7e265a5ef926050cc20d770 |
||
---|---|---|
.. | ||
AttributeName.java | ||
ElementName.java | ||
MetaScanner.java | ||
Portability.java | ||
README.txt | ||
StackNode.java | ||
StateSnapshot.java | ||
Tokenizer.java | ||
TreeBuilder.java | ||
UTF16Buffer.java |
The .java files in this directory were placed here by the Java-to-C++ translator that lives in parser/html/java/translator. Together they represent a snapshot of the Java code that was translated to produce the corresponding .h and .cpp files in the parent directory. Changing these .java files is not worthwhile, as they will just be overwritten by the next translation. See parser/html/java/README.txt for information about performing the translation.