1 #ˆl–äY>” je¶…8 Cq§nµ1hßà ƒ AgÂÁÀ…a ´iÿã@sœddlZddlZddlZe d¡ZGdd„dejƒZGdd„dejejƒZGdd„dej ej ƒZ Gd d „d eej ej ƒZ Gd d „d eej ejƒZd d„ZdS)éNÚcp950c@seZdZejZejZdS)ÚCodecN)Ú__name__Ú __module__Ú __qualname__ÚcodecÚencodeÚdecode©r r ú'/usr/lib64/python3.9/encodings/cp950.pyr src@seZdZeZdS)ÚIncrementalEncoderN©rrrrr r r r r sr c@seZdZeZdS)ÚIncrementalDecoderNr r r r r rsrc@seZdZeZdS)Ú StreamReaderNr r r r r rsrc@seZdZeZdS)Ú StreamWriterNr r r r r rsrc Cs tjdtƒjtƒjttttd�S)Nr)Únamerr ÚincrementalencoderÚincrementaldecoderÚ streamreaderÚ streamwriter) ÚcodecsÚ CodecInforrr r rrrr r r r Ú getregentrysùr)Z _codecs_twrZ_multibytecodecZmbcZgetcodecrrZMultibyteIncrementalEncoderr ZMultibyteIncrementalDecoderrZMultibyteStreamReaderrZMultibyteStreamWriterrrr r r r Ús ÿÿ%ˆl–ß=¿Jµ0–5¼ ^¸ÓWÒ˜´oÄ … .ºËŸÃÂÁ?÷# ----------------------------------------------------------------------------- # ply: yacc.py # # Copyright (C) 2001-2018 # David M. Beazley (Dabeaz LLC) # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright notice, # this list of conditions and the following disclaimer in the documentation # and/or other materials provided with the distribution. # * Neither the name of the David Beazley or Dabeaz LLC may be used to # endorse or promote products derived from this software without # specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ----------------------------------------------------------------------------- # # This implements an LR parser that is constructed from grammar rules defined # as Python functions. The grammar is specified by supplying the BNF inside # Python documentation strings. The inspiration for this technique was borrowed # from John Aycock's Spark parsing system. PLY might be viewed as cross between # Spark and the GNU bison utility. # # The current implementation is only somewhat object-oriented. The # LR parser itself is defined in terms of an object (which allows multiple # parsers to co-exist). However, most of the variables used during table # construction are defined in terms of global variables. Users shouldn't # notice unless they are trying to define multiple parsers at the same # time using threads (in which case they should have their head examined). # # This implementation supports both SLR and LALR(1) parsing. LALR