protected function addTag($tagPos, $tagLen, $chr, $prio = 0)
	{
		$tag = $this->parser->addSelfClosingTag($this->config['tagName'], $tagPos, $tagLen, $prio);
		$tag->setAttribute($this->config['attrName'], $chr);

		return $tag;
	}
protected function addTag($tagPos, $tagLen, $chr, $prio = 0)
	{
		$tag = $this->parser->addSelfClosingTag($this->config['tagName'], $tagPos, $tagLen, $prio);
		$tag->setAttribute($this->config['attrName'], $chr);

		return $tag;
	}
protected function addTag ( $ tagPos , $ tagLen , $ chr , $ prio = 0 ) { $ tag = $ this -> parser -> addSelfClosingTag ( $ this -> config [ 'tagName' ] , $ tagPos , $ tagLen , $ prio ) ; $ tag -> setAttribute ( $ this -> config [ 'attrName' ] , $ chr ) ; return $ tag ; }
Add a fancy replacement tag

@param  integer $tagPos Position of the tag in the text
@param  integer $tagLen Length of text consumed by the tag
@param  string  $chr    Replacement character
@param  integer $prio   Tag's priority
@return \s9e\TextFormatter\Parser\Tag
Add a fancy replacement tag