/[theodore]/bunnyblog/modules/yaml/parser.pyc


UCC Code Repository

Contents of /bunnyblog/modules/yaml/parser.pyc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download) (as text)
Tue Jan 29 14:32:01 2008 UTC (12 years, 5 months ago) by svn-admin
File MIME type: application/octet-stream
File size: 13564 byte(s)
Error occurred while calculating annotation data.
Re-import of repository after repository database corruption.

1
2 Bº$Fc@s^ddgZdklZdkTdkTdkTdefd„ƒYZdefd„ƒYZdS(tParsert ParserError(sMarkedYAMLError(t*cBstZRS(N(t__name__t
3 __module__(((t./modules/yaml/parser.pyREscBs:tZhdd<dd<Zd„Zd„Zd„Zd„Zd„Zd „Zd
4 „Z d „Z
5 d „Z d „Z d„Z d„Zd„Zeed„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zed„Zd„Zd„Zd„Zd„Zed„Zd„Zd „Z d!„Z!RS("Nu!u!!utag:yaml.org,2002:cCs=d|_d|_h|_g|_g|_|i|_dS(N( tNonetselft current_eventt yaml_versiont tag_handleststatestmarkstparse_stream_starttstate(R((Rt__init__Ss      cGs„|idjo!|io|iƒ|_q1n|idj o?|ptSnx-|D]!}t|i|ƒotSqWqWWntS(N( RRRRtchoicestTruetchoicet
6 isinstancetFalse(RRR((Rt check_event[s
7 cCs8|idjo!|io|iƒ|_q1n|iS(N(RRRR(R((Rt
8 peek_evenths
9 cCsG|idjo!|io|iƒ|_q1n|i}d|_|S(N(RRRRtvalue(RR((Rt get_eventos 
10   cCs:|iƒ}t|i|id|iƒ}|i|_ |S(Ntencoding(
11 Rt get_tokenttokentStreamStartEventt
12 start_marktend_markRteventtparse_implicit_document_startR(RRR((RR |s
13   cCs…|itttƒpa|i|_|iƒ}|i }}t ||dt ƒ}|ii|iƒ|i|_|Sn |iƒSdS(Ntexplicit(Rt check_tokentDirectiveTokentDocumentStartTokentStreamEndTokent DEFAULT_TAGSR
14 t
15 peek_tokenRRRtDocumentStartEventRRR tappendtparse_document_endtparse_block_nodeRtparse_document_start(RRRRR((RR ˆs 
16       c CsCx|itƒo|iƒqW|itƒp¿|iƒ}|i}|iƒ\}}|it ƒp/t ddd|iƒi|iƒiƒ‚n|iƒ}|i}t||dtd|d|ƒ}|ii|iƒ|i|_nO|iƒ}t|i|iƒ}|i pt‚|i pt‚d|_|S(Ns)expected '<document start>', but found %rR!tversionttags(RR"tDocumentEndTokenRR%R'RRtprocess_directivesR-R.R$RRtidRR(RRR R)R*tparse_document_contentRtStreamEndEventtAssertionErrorR (RR.RRRR-R((RR,œs.        cCss|iƒ}|i}}t}|itƒo|i ƒ}|i}t
17 }nt ||d|ƒ}|i |_|S(NR!(RR'RRRRR!R"R/RRtDocumentEndEventRR,R(RR!RRRR((RR*»s    
18    cCsY|ittttƒo2|i|iƒiƒ}|i
19 i ƒ|_ |Sn |i ƒSdS(N(RR"R#R$R/R%tprocess_empty_scalarR'RRR tpopRR+(RR((RR2Ís  cCs˜d|_h|_x|itƒoý|iƒ}|idjot|idj ot ddd|i
20 ƒ‚n|i \}}|djot ddd|i
21 ƒ‚n|i |_q|idjoY|i \}}||ijo)t ddd|idƒ|i
22 ƒ‚n||i|<qqW|io|i|iiƒf}n|idf}x9|iD].}||ijo|i||i|<qbqbW|S(NuYAMLsfound duplicate YAML directiveis:found incompatible YAML document (version 1.* is required)uTAGsduplicate tag handle %rsutf-8(RRR R
23 R"R#RRtnameRRRtmajortminorthandletprefixtencodetcopyR&tkey(RR;R?R<R9RRR:((RR0Ös<       
24 
25 cCs|idtƒS(Ntblock(Rt
26 parse_nodeR(R((RR+scCs
27 |iƒS(N(RRA(R((Rtparse_flow_nodescCs|idtdtƒS([email protected]tindentless_sequence(RRAR(R((Rt'parse_block_node_or_indentless_sequence sc Csö|itƒo=|iƒ} t| i| i| iƒ}|i
28 i ƒ|_ n¦d} d}d}
29 }} |itƒof|iƒ} | i}
30 | i}| i} |itƒo+|iƒ} | i} | i}| i}qNnr|itƒoa|iƒ} | i}
31 } | i}| i}|itƒo"|iƒ} | i}| i} qNn|dj on|\}}|dj oK||ijo&td|
32 d|idƒ| ƒ‚n|i||}qÉ|}n|
33 djo|iƒi}
34 }nd}|djp
35 |dj} |oG|itƒo7|iƒi}t| || |
36 |ƒ}|i|_ n™|itƒo¯|iƒ} | i}| io |djp |djot t!f} n*|djot!t f} n t!t!f} t"| || | i|
37 |d| i#ƒ}|i
38 i ƒ|_ nÚ|it$ƒo=|iƒi}t| || |
39 |dt ƒ}|i%|_ n|it&ƒo=|iƒi}t'| || |
40 |dt ƒ}|i(|_ [email protected]|oM|it*ƒo=|iƒi}t| || |
41 |dt!ƒ}|i+|_ nì|oM|it,ƒo=|iƒi}t'| || |
42 |dt!ƒ}|i-|_ n˜| dj p |dj o7t"| || t!fd|
43 |ƒ}|i
44 i ƒ|_ nG|o
45 d}nd }|iƒ} td
46 ||
47 d | i/| iƒ‚|S( Nswhile parsing a nodesfound undefined tag handle %rsutf-8u!tstylet
48 flow_styleu[email protected]tflowswhile parsing a %s nodes'expected the node content, but found %r(0RR"t
49 AliasTokenRRt
50 AliasEventRRRRR R7RRtanchorttagttag_markt AnchorTokentTagTokenR;tsuffixR
51 RR=R'timplicitRCtBlockEntryTokentSequenceStartEventtparse_indentless_sequence_entryt ScalarTokentplainRRt ScalarEventREtFlowSequenceStartTokentparse_flow_sequence_first_entrytFlowMappingStartTokentMappingStartEventt[email protected]tBlockSequenceStartTokent parse_block_sequence_first_entrytBlockMappingStartTokentparse_block_mapping_first_keytnodeR1(R[email protected]RCRORRKRR`R;RPRRLRRJ((RRAs®                   
52      $       
53   
54  cCs)|iƒ}|ii|iƒ|iƒS(N(RRRR R)Rtparse_block_sequence_entry(RR((RR]us cCsú|itƒo`|iƒ}|ittƒp!|ii|iƒ|i ƒSqp|i|_
55 |i |i ƒSn|itƒp6|i ƒ}td|idd|i|iƒ‚n|iƒ}t|i|i ƒ}|iiƒ|_
56 |iiƒ|S(Ns while parsing a block collectioniÿÿÿÿs"expected <block end>, but found %r(RR"RQRRt BlockEndTokenR R)RaR+RR6RR'RR R1RtSequenceEndEventRR7(RRR((RRazs      cCs­|itƒof|iƒ}|ittttƒp!|ii |i
57 ƒ|i ƒSqv|i
58 |_ |i |iƒSn|iƒ}t|i|iƒ}|iiƒ|_ |S(N(RR"RQRRtKeyTokent
59 ValueTokenRbR R)RSR+RR6RR'RcRRR7(RRR((RRSs    cCs)|iƒ}|ii|iƒ|iƒS(N(RRRR R)Rtparse_block_mapping_key(RR((RR_£s cCsý|itƒoc|iƒ}|itttƒp!|ii|i ƒ|i
60 ƒSqs|i |_ |i |i ƒSn|itƒp6|iƒ}td|idd|i|iƒ‚n|iƒ}t|i|i ƒ}|iiƒ|_ |iiƒ|S(Nswhile parsing a block mappingiÿÿÿÿs"expected <block end>, but found %r(RR"RdRRReRbR R)tparse_block_mapping_valueRDRR6RR'RR R1RtMappingEndEventRR7(RRR((RRf¨s      cCsŸ|itƒoc|iƒ}|itttƒp!|ii|i ƒ|i
61 ƒSq›|i |_ |i |i ƒSn)|i |_ |iƒ}|i |iƒSdS(N(RR"ReRRRdRbR R)RfRDRR6RR'R(RR((RRg»s    cCs/|iƒ}|ii|iƒ|idtƒS(Ntfirst(RRRR R)Rtparse_flow_sequence_entryR(RR((RRXÔs cCs8|itƒpä|pT|itƒo|iƒqk|iƒ}td|i dd|i
62 |i ƒ‚n|it ƒoD|iƒ}t ddt|i |idtƒ}|i|_|Sqô|itƒp!|ii|iƒ|iƒSqôn|iƒ}t|i |iƒ}|iiƒ|_|i iƒ|S(Nswhile parsing a flow sequenceiÿÿÿÿsexpected ',' or ']', but got %rRF(RR"tFlowSequenceEndTokenRitFlowEntryTokenRR'RRR R1RRdRZRRRRt%parse_flow_sequence_entry_mapping_keyRR R)RjRBRcR7(RRiRR((RRjÙs,        cCsc|iƒ}|itttƒp!|ii|i ƒ|i
63 ƒSn|i |_ |i |i ƒSdS(N(RRRR"ReRlRkR R)t'parse_flow_sequence_entry_mapping_valueRBRR6R(RR((RRmós    cCsœ|itƒo`|iƒ}|ittƒp!|ii|i ƒ|i
64 ƒSq˜|i |_ |i |i ƒSn)|i |_ |iƒ}|i |iƒSdS(N(RR"ReRRRlRkR R)t%parse_flow_sequence_entry_mapping_endRBRR6RR'R(RR((RRnýs    cCs+|i|_|iƒ}t|i|iƒS(N(RRjRR'RRhR(RR((RRo s  cCs/|iƒ}|ii|iƒ|idtƒS(NRi(RRRR R)Rtparse_flow_mapping_keyR(RR((RR[s cCsW|itƒp|pT|itƒo|iƒqk|iƒ}td|i dd|i
65 |i ƒ‚n|it ƒoc|iƒ}|it ttƒp!|ii|iƒ|iƒSq|i|_|i|iƒSq|itƒp!|ii|iƒ|iƒSqn|iƒ}t|i |iƒ}|iiƒ|_|i iƒ|S(Nswhile parsing a flow mappingiÿÿÿÿsexpected ',' or '}', but got %r(RR"tFlowMappingEndTokenRiRlRR'RRR R1RRdReR R)tparse_flow_mapping_valueRBRR6Rtparse_flow_mapping_empty_valueRhRR7(RRiRR((RRps.       cCsœ|itƒo`|iƒ}|ittƒp!|ii|i ƒ|i
66 ƒSq˜|i |_ |i |i ƒSn)|i |_ |iƒ}|i |iƒSdS(N(RR"ReRRRlRqR R)RpRBRR6RR'R(RR((RRr6s    cCs"|i|_|i|iƒiƒS(N(RRpRR6R'R(R((RRsDs cCstddttfd||ƒS(Nu(RVRRRtmark(RRt((RR6Hs("RRR&RRRRR R R,R*R2R0R+RBRDRRAR]RaRSR_RfRgRXRjRmRnRoR[RpRrRsR6(((RRHs>      /   g        
67     N( t__all__terrortMarkedYAMLErrorttokensteventstscannerRtobjectR(RwRRRu((Rt?>s  

Properties

Name Value
svn:mime-type application/octet-stream

Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26