original_string: public function getTagged(int $tag): TaggedType
      {
          if (!$this->hasTagged($tag)) {
              throw new \LogicException("No tagged element for tag $tag.");
          }
          return $this->_taggedMap[$tag];
      }
code: public function getTagged(int $tag): TaggedType
      {
          if (!$this->hasTagged($tag)) {
              throw new \LogicException("No tagged element for tag $tag.");
          }
          return $this->_taggedMap[$tag];
      }
code_tokens: public function getTagged ( int $ tag ) : TaggedType { if ( ! $ this -> hasTagged ( $ tag ) ) { throw new \ LogicException ( "No tagged element for tag $tag." ) ; } return $ this -> _taggedMap [ $ tag ] ; }
docstring: Get a context specific element tagged with a given tag.
  
  @param int $tag
  @throws \LogicException If tag doesn't exists
  @return TaggedType
docstring_tokens: Get a context specific element tagged with a given tag .