summaryrefslogtreecommitdiff
path: root/includes/parser/Preprocessor.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/parser/Preprocessor.php')
-rw-r--r--includes/parser/Preprocessor.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/parser/Preprocessor.php b/includes/parser/Preprocessor.php
index 9c417d23..c31f37bf 100644
--- a/includes/parser/Preprocessor.php
+++ b/includes/parser/Preprocessor.php
@@ -1,4 +1,9 @@
<?php
+/**
+ * Interfaces for preprocessors
+ *
+ * @file
+ */
/**
* @ingroup Parser
@@ -13,6 +18,9 @@ interface Preprocessor {
/** Create a new custom frame for programmatic use of parameter replacement as used in some extensions */
function newCustomFrame( $args );
+ /** Create a new custom node for programmatic use of parameter replacement as used in some extensions */
+ function newPartNodeArray( $values );
+
/** Preprocess text to a PPNode */
function preprocessToObj( $text, $flags = 0 );
}