#NEWLINE# def _HandleAnchor( self , event ) : #NEWLINE# #INDENT# 'Handle anchor attached to event.\n\n    Currently will raise an error if anchor is used.  Anchors are used to\n    define a document wide tag to a given value (scalar, mapping or sequence).\n\n    Args:\n      event: Event which may have anchor property set.\n\n    Raises:\n      NotImplementedError if event attempts to use an anchor.\n    ' #NEWLINE# if ( hasattr ( event , 'anchor' ) and ( event . anchor is not None ) ) : #NEWLINE# #INDENT# raise NotImplementedError ( 'Anchors not supported in this handler' )