mediawiki-extensions-Visual.../modules/parser/html5
Gabriel Wicke bd98eb4c5a Land big TokenTransformDispatcher and eventization refactoring.
The TokenTransformDispatcher now actually implements an asynchronous, phased
token transformation framework as described in
https://www.mediawiki.org/wiki/Future/Parser_development/Token_stream_transformations.

Additionally, the parser pipeline is now mostly held together using events.
The tokenizer still emits a lame single events with all tokens, as block-level
emission failed with scoping issues specific to the PEGJS parser generator.
All stages clean up when receiving the end tokens, so that the full pipeline
can be used for repeated parsing.

The QuoteTransformer is not yet 100% fixed to work with the new interface, and
the Cite extension is disabled for now pending adaptation. Bold-italic related
tests are failing currently.
2012-01-03 18:44:31 +00:00
..
parser * Split paragraph handling between tokenizer and DOM postprocessor for better 2011-11-29 15:11:51 +00:00
buffer.js Add node.js-compatible HTML5 parser and hook it up to the PEG tokenizer. 2011-11-18 13:57:07 +00:00
constants.js Add node.js-compatible HTML5 parser and hook it up to the PEG tokenizer. 2011-11-18 13:57:07 +00:00
COPYING Add node.js-compatible HTML5 parser and hook it up to the PEG tokenizer. 2011-11-18 13:57:07 +00:00
debug.js Add node.js-compatible HTML5 parser and hook it up to the PEG tokenizer. 2011-11-18 13:57:07 +00:00
index.js Add node.js-compatible HTML5 parser and hook it up to the PEG tokenizer. 2011-11-18 13:57:07 +00:00
parser.js Land big TokenTransformDispatcher and eventization refactoring. 2012-01-03 18:44:31 +00:00
serializer.js * Split paragraph handling between tokenizer and DOM postprocessor for better 2011-11-29 15:11:51 +00:00
tokenizer.js Add node.js-compatible HTML5 parser and hook it up to the PEG tokenizer. 2011-11-18 13:57:07 +00:00
treebuilder.js * Split paragraph handling between tokenizer and DOM postprocessor for better 2011-11-29 15:11:51 +00:00
treewalker.js Add node.js-compatible HTML5 parser and hook it up to the PEG tokenizer. 2011-11-18 13:57:07 +00:00