/**
 * Template parser representation data type
 * @param string template - template to parse
 */
cAITemplateParser = function () {
	this.myType = "";
}

// Setting prototype
mixin(cAITemplateParser.prototype, {
	/**
	 * Checking template can be parsed usgin this parser function
	 */
	check: function ( template )
	{
		return template.substr(0, this.myType.length + 1) == this.myType + " ";
	},
	
	/**
	 * Returning template to parser function
	 * @param string subtemplate - string subtemplate parsing with this parser
	 */
	template: function ( subtemplate )
	{
		return subtemplate.substr(this.myType.length + 1);
	},
	
	/**
	 * Parsing template function
	 */
	parse: function ( obj, template )
	{
		return "";
	}
});

