3 sz"Token.__repr__..z, csg|]}d|tˆ|ƒf‘qS)z%s=%r)Úgetattr)r r )rrrr sz%s(%s))Ú__dict__ÚsortÚjoinÚ __class__Ú__name__)rZ attributesZ argumentsr)rrÚ__repr__s  zToken.__repr__N)rÚ __module__Ú __qualname__rrrrrrrsrc@seZdZdZdd„ZdS)ÚDirectiveTokenz cCs||_||_||_||_dS)N)ÚnameÚvaluerr)rrrrrrrrrszDirectiveToken.__init__N)rrrÚidrrrrrrsrc@seZdZdZdS)ÚDocumentStartTokenzN)rrrrrrrrrsrc@seZdZdZdS)ÚDocumentEndTokenzN)rrrrrrrrrsrc@seZdZdZddd„ZdS)ÚStreamStartTokenzNcCs||_||_||_dS)N)rrÚencoding)rrrrrrrr!szStreamStartToken.__init__)NNN)rrrrrrrrrrsrc@seZdZdZdS)ÚStreamEndTokenz N)rrrrrrrrr'src@seZdZdZdS)ÚBlockSequenceStartTokenzN)rrrrrrrrr*src@seZdZdZdS)ÚBlockMappingStartTokenzN)rrrrrrrrr-src@seZdZdZdS)Ú BlockEndTokenz N)rrrrrrrrr 0sr c@seZdZdZdS)ÚFlowSequenceStartTokenú[N)rrrrrrrrr!3sr!c@seZdZdZdS)ÚFlowMappingStartTokenú{N)rrrrrrrrr#6sr#c@seZdZdZdS)ÚFlowSequenceEndTokenú]N)rrrrrrrrr%9sr%c@seZdZdZdS)ÚFlowMappingEndTokenú}N)rrrrrrrrr'<sr'c@seZdZdZdS)ÚKeyTokenú?N)rrrrrrrrr)?sr)c@seZdZdZdS)Ú ValueTokenú:N)rrrrrrrrr+Bsr+c@seZdZdZdS)ÚBlockEntryTokenú-N)rrrrrrrrr-Esr-c@seZdZdZdS)ÚFlowEntryTokenú,N)rrrrrrrrr/Hsr/c@seZdZdZdd„ZdS)Ú AliasTokenzcCs||_||_||_dS)N)rrr)rrrrrrrrMszAliasToken.__init__N)rrrrrrrrrr1Ksr1c@seZdZdZdd„ZdS)Ú AnchorTokenzcCs||_||_||_dS)N)rrr)rrrrrrrrTszAnchorToken.__init__N)rrrrrrrrrr2Rsr2c@seZdZdZdd„ZdS)ÚTagTokenzcCs||_||_||_dS)N)rrr)rrrrrrrr[szTagToken.__init__N)rrrrrrrrrr3Ysr3c@seZdZdZddd„ZdS)Ú ScalarTokenzNcCs"||_||_||_||_||_dS)N)rÚplainrrÚstyle)rrr5rrr6rrrrbs zScalarToken.__init__)N)rrrrrrrrrr4`sr4N)Úobjectrrrrrrrrr r!r#r%r'r)r+r-r/r1r2r3r4rrrrÚs(