Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/textfsm/__pycache__/parser.cpython-39.pyc
Ðазад
a i�h� � @ s d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlZddlZddlZddl Z ddl Z ddlmZ ddlm Z dd lmZ ddlZG d d� de�ZG dd � d e�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG d d!� d!e�Zd)d"d#�Zed$k�r d%e jd Z ze �!e� � W n� e�y� Z" z2e#e"e j$d&� e#d'e j$d&� e �!d(� W Y dZ"["nLdZ"["0 e%eef�y Z" z$e#e"e j$d&� e �!d(� W Y dZ"["n dZ"["0 0 dS )*a� Template based text parser. This module implements a parser, intended to be used for converting human readable text, such as command output from a router CLI, into a list of records, containing values extracted from the input text. A simple template language is used to describe a state machine to parse a specific type of text input, returning a record of values for each input entity. � )�absolute_import)�division)�print_function)�unicode_literalsN)�object��str)�zipc @ s e Zd ZdZdS )�ErrorzBase class for errors.N��__name__� __module__�__qualname__�__doc__� r r �~/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/textfsm/parser.pyr , s r c @ s e Zd ZdZdS )�Usagez Error in command line execution.Nr r r r r r 0 s r c @ s e Zd ZdZdS )�TextFSMErrorz!Error in the FSM state execution.Nr r r r r r 4 s r c @ s e Zd ZdZdS )�TextFSMTemplateErrorzErrors while parsing templates.Nr r r r r r 8 s r c @ s e Zd ZdZdS )� FSMActionz+Base class for actions raised with the FSM.Nr r r r r r >