Lines Matching refs:Parser
7 # the marshalling and response parser code can also be used to
34 # 2001-10-04 fl Make sure import expat gets a parser (from Guido van Rossum)
96 The marshalling and response parser code can also be used to
117 SlowParser Slow but safe standard parser (based on xmllib)
131 getparser Create instance of the fastest available parser & attach
525 FastParser = _xmlrpclib.Parser
544 # fast expat parser for Python 2.0 and later.
546 self._parser = parser = expat.ParserCreate(None, None)
548 parser.StartElementHandler = target.start
549 parser.EndElementHandler = target.end
550 parser.CharacterDataHandler = target.data
552 if not parser.returns_unicode:
564 """Default XML parser (based on xmllib.XMLParser)."""
565 # this is the slowest parser.
1003 # Create a parser object, and connect it to an unmarshalling instance.
1004 # This function picks the fastest available XML parser.
1006 # return A (parser, unmarshaller) tuple.
1009 """getparser() -> parser, unmarshaller
1011 Create an instance of the fastest available parser, and attach it
1022 parser = FastParser(target)
1026 parser = FastParser(target)
1028 parser = ExpatParser(target)
1030 parser = SlowParser(target)
1031 return parser, target
1316 # Create parser.
1318 # @return A 2-tuple containing a parser and a unmarshaller.
1321 # get parser and unmarshaller