-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync for validator/cpp/htmlparser (#34999)
* No description. PiperOrigin-RevId: 375955262 * Replace `master` with `main` in htmlparser links. PiperOrigin-RevId: 376840072 * - Add support for recording node's start/end offset in original html src. This in addition to line/col already supported in htmlparser. - Add support for recording number of words (num_terms) in a text node. PiperOrigin-RevId: 378533243 * Fix integer overflow caused by uninitialized int garbage value. PiperOrigin-RevId: 378549050 * Add support for counting number of terms in a text node. - Reverses previous changelist's num_terms by removing all logic from tokenizer. I think going forward we will do less things in tokenizer and move all post tokenization work in parser. - Add CountTerms method in strings library. - Add a note that support for callbacks is only partially implemented and is intended to use only in unit tests. PiperOrigin-RevId: 378755403 Co-authored-by: Googler <noreply@google.com> Co-authored-by: Greg Grothaus <greggrothaus@google.com> Co-authored-by: Amaltas Bohra <amaltas@google.com>
- Loading branch information
1 parent
644f33e
commit f26e5ec
Showing
13 changed files
with
258 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.