Parsoid
A bidirectional parser between wikitext and HTML5
Parsoid\Utils Namespace Reference

This file contains general utilities for: (a) querying token properties and token types (b) manipulating tokens, individually and as collections. More...

Classes

class  ConfigUtils
 This refactors common code in Api and Mock based config computation. More...
 
class  ContentUtils
 These utilities are for processing content that's generated by parsing source input (ex: wikitext) More...
 
class  DataBag
 
class  DOMCompat
 Helper class that provides missing DOM level 3 methods for the PHP DOM classes. More...
 
class  DOMDataUtils
 These helpers pertain to HTML and data attributes of a node. More...
 
class  DOMPostOrder
 Non-recursive post-order traversal of a DOM tree. More...
 
class  DOMTraverser
 Class for helping us traverse the DOM. More...
 
class  DOMUtils
 DOM utilities for querying the DOM. More...
 
class  PHPUtils
 This file contains Parsoid-independent PHP helper functions. More...
 
class  PipelineUtils
 This file contains parsing pipeline related utilities. More...
 
class  Title
 
class  TitleException
 Exception thrown for invalid titles. More...
 
class  TitleNamespace
 
class  TokenUtils
 
class  UrlUtils
 Utilities for manipulating URLs. More...
 
class  Util
 This file contains general utilities for token transforms. More...
 
class  WTUtils
 These utilites pertain to extracting / modifying wikitext information from the DOM. More...
 

Detailed Description

This file contains general utilities for: (a) querying token properties and token types (b) manipulating tokens, individually and as collections.