B
�j\= � @ s� d dgZ ddlZddlZG dd� de�ZG dd� de�ZG dd � d e�ZG d
d� de�ZG dd� de�Z G d
d� de
�ZG dd� d�ZG dd� de
�ZG dd� de�ZG dd � d ed�ZdS )�Lexer�LexerStateChange� Nc @ s e Zd ZdZdd� ZdS )�LexErrora
Exception raised if an invalid character is encountered and no default
error handler function is defined. The .text attribute of the exception
contains all remaining untokenized text. The .error_index is the index
location of the error.
c C s |f| _ || _|| _d S )N)�args�text�error_index)�self�messager r � r
�=/u1/h0/jkinne/public_html/cs420-s2019/code/sly-0.4/sly/lex.py�__init__. s zLexError.__init__N)�__name__�
__module__�__qualname__�__doc__r r
r
r
r r '