Ignore:
Timestamp:
04/16/06 19:45:21 (9 years ago)
Author:
xi
Message:

Refactor resolver.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/tests/test_appliance.py

    r136 r137  
    263263                tag = self.get_token_value() 
    264264            if self.check_token(ScalarToken): 
    265                 self.events.append(ScalarEvent(anchor, tag, False, self.get_token_value(), None, None)) 
     265                self.events.append(ScalarEvent(anchor, tag, (False, False), self.get_token_value(), None, None)) 
    266266            elif self.check_token(FlowSequenceStartToken): 
    267267                self.events.append(SequenceStartEvent(anchor, tag, None, None)) 
     
    322322        return self.events[0] 
    323323 
    324 class CanonicalLoader(CanonicalScanner, CanonicalParser, Composer, Constructor, Detector): 
     324class CanonicalLoader(CanonicalScanner, CanonicalParser, Composer, Constructor, Resolver): 
    325325 
    326326    def __init__(self, stream): 
     
    331331        Composer.__init__(self) 
    332332        Constructor.__init__(self) 
    333         Detector.__init__(self) 
     333        Resolver.__init__(self) 
    334334 
    335335def canonical_scan(stream): 
Note: See TracChangeset for help on using the changeset viewer.