Parsoid
A bidirectional parser between wikitext and HTML5
Loading...
Searching...
No Matches
Wikimedia\Parsoid\Wt2Html Namespace Reference

Tokenizer for wikitext, using WikiPEG and a separate PEG grammar file (Grammar.pegphp) More...

Namespaces

namespace  TreeBuilder
 Front-end/Wrapper for a particular tree builder, in this case the parser/tree builder from RemexHtml.
 
namespace  TT
 General token sanitizer.
 

Classes

class  DOMPostProcessor
 Perform post-processing steps on an already-built HTML DOM. More...
 
class  DOMPPTraverser
 This is a class that wraps the DOMTraverser utility for use in the DOM Post Processor pipeline. More...
 
class  Frame
 A frame represents a template expansion scope including parameters passed to the template (args). More...
 
class  Grammar
 
class  GrammarCacheEntry
 
class  PageConfigFrame
 A special subclass of frame used for the topmost frame in the environment; gets most of its actual data from a PageConfig object. More...
 
class  Params
 A parameter object wrapper, essentially an array of key/value pairs with a few extra methods. More...
 
class  ParserPipeline
 Wrap some stages into a pipeline. More...
 
class  ParserPipelineFactory
 This class assembles parser pipelines from parser stages. More...
 
class  PegTokenizer
 
class  PipelineStage
 This represents the abstract interface for a wt2html parsing pipeline stage Currently there are 4 known pipeline stages: More...
 
class  TokenizerUtils
 
class  TokenTransformManager
 Token transformation manager. More...
 
interface  Wt2HtmlDOMProcessor
 wt2html DOM processor used to implement some DOM functionality (ex: DSR computation, template wrapping, etc.) More...
 
class  XMLSerializer
 Stand-alone XMLSerializer for DOM3 documents. More...
 

Detailed Description

Tokenizer for wikitext, using WikiPEG and a separate PEG grammar file (Grammar.pegphp)

Use along with a Wt2Html/TreeBuilder/TreeBuilderStage and the DOMPostProcessor(s) for HTML output.