gecko-dev/parser/html/javasrc
Henri Sivonen 1eb6516385 Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName. r=wchen
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
2017-04-20 10:34:32 +03:00
..
AttributeName.java Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName. r=wchen 2017-04-20 10:34:32 +03:00
ElementName.java Bug 1358037 - Inline the methods of nsHtml5ElementName and nsHtml5AttributeName. r=wchen 2017-04-20 10:34:32 +03:00
MetaScanner.java Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
Portability.java Bug 1176698 - Use fallible allocator for attribute values in the HTML parser. r=wchen. 2015-08-25 18:05:46 +03:00
README.txt
StackNode.java Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a non-interned element name. r=wchen 2017-04-12 13:21:03 +03:00
StateSnapshot.java
Tokenizer.java Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to avoid malloc. r=wchen 2017-04-13 11:14:48 +03:00
TreeBuilder.java Bug 1355479 - Flatten attribute storage in the HTML parser to AutoTArray to avoid malloc. r=wchen 2017-04-13 11:14:48 +03:00
UTF16Buffer.java Bug 489820 part 2 - Grow buffers to the worst-case size before tokenizing; fix comments. r=wchen. 2015-08-25 18:05:45 +03:00

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.