3 interface Preprocessor
{
4 function __construct( $parser );
6 function preprocessToObj( $text, $flags = 0 );
11 const NO_TEMPLATES
= 2;
12 const STRIP_COMMENTS
= 4;
15 const RECOVER_ORIG
= 11;
18 * Create a child frame
20 function newChild( $args = false, $title = false );
23 * Expand a document tree node
25 function expand( $root, $flags = 0 );
28 * Implode with flags for expand()
30 function implodeWithFlags( $sep, $flags /*, ... */ );
33 * Implode with no flags specified
35 function implode( $sep /*, ... */ );
38 * Makes an object that, when expand()ed, will be the same as one obtained
41 function virtualImplode( $sep /*, ... */ );
44 * Virtual implode with brackets
46 function virtualBracketedImplode( $start, $sep, $end /*, ... */ );
49 * Returns true if there are no arguments in this frame
53 function getArgument( $name );
56 * Returns true if the infinite loop check is OK, false if a loop is detected
58 function loopCheck( $title );
62 function getChildren();
63 function getFirstChild();
64 function getNextSibling();
65 function getChildrenOfType( $type );
72 function splitHeading();