2012-01-05 11:08:05 +00:00
|
|
|
/*\
|
|
|
|
title: js/WikiTextParseTree.js
|
|
|
|
|
2012-01-05 20:10:25 +00:00
|
|
|
A container for the parse tree generated by parsing wikitext
|
2012-01-05 11:08:05 +00:00
|
|
|
|
|
|
|
\*/
|
|
|
|
(function(){
|
|
|
|
|
|
|
|
/*jslint node: true */
|
|
|
|
"use strict";
|
|
|
|
|
2012-02-16 20:38:10 +00:00
|
|
|
var Renderer = require("./Renderer.js").Renderer,
|
2012-01-24 16:26:37 +00:00
|
|
|
ArgParser = require("./ArgParser.js").ArgParser,
|
2012-01-06 17:53:37 +00:00
|
|
|
utils = require("./Utils.js");
|
2012-01-05 11:08:05 +00:00
|
|
|
|
|
|
|
// Intialise the parse tree object
|
2012-01-06 19:41:42 +00:00
|
|
|
var WikiTextParseTree = function(tree,dependencies,store) {
|
2012-01-05 11:08:05 +00:00
|
|
|
this.tree = tree;
|
2012-02-07 19:03:59 +00:00
|
|
|
this.dependencies = dependencies;
|
2012-01-05 11:08:05 +00:00
|
|
|
this.store = store;
|
|
|
|
};
|
|
|
|
|
|
|
|
exports.WikiTextParseTree = WikiTextParseTree;
|
|
|
|
|
|
|
|
})();
|