404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@18.118.95.178: ~ $
3

��Xs�@s�dZddlZddlmZmZmZmZmZddlm	Z	m
Z
mZmZm
Z
mZmZmZmZmZmZddlmZmZddlmZddlmZmZmZmZddlmZd	d
ddd
dddgZej d�Z!ej dej"�Z#ej dej"�Z$dd�Z%Gdd�de&�Z'Gdd	�d	e'e�Z(Gdd
�d
e'e�Z)Gdd�de'e�Z*ej d�Z+ej d�Z,ej d�Z-ej d�Z,ej d �Z.ej d!�Z/Gd"d#�d#e&�Z0Gd$d�de�Z1Gd%d�de�Z2Gd&d
�d
e�Z3Gd'd�de�Z4Gd(d�de�Z5Gd)d�de�Z6dS)*a�
    pygments.lexers.sql
    ~~~~~~~~~~~~~~~~~~~

    Lexers for various SQL dialects and related interactive sessions.

    Postgres specific lexers:

    `PostgresLexer`
        A SQL lexer for the PostgreSQL dialect. Differences w.r.t. the SQL
        lexer are:

        - keywords and data types list parsed from the PG docs (run the
          `_postgres_builtins` module to update them);
        - Content of $-strings parsed using a specific lexer, e.g. the content
          of a PL/Python function is parsed using the Python lexer;
        - parse PG specific constructs: E-strings, $-strings, U&-strings,
          different operators and punctuation.

    `PlPgsqlLexer`
        A lexer for the PL/pgSQL language. Adds a few specific construct on
        top of the PG SQL lexer (such as <<label>>).

    `PostgresConsoleLexer`
        A lexer to highlight an interactive psql session:

        - identifies the prompt and does its best to detect the end of command
          in multiline statement where not all the lines are prefixed by a
          prompt, telling them apart from the output;
        - highlights errors in the output and notification levels;
        - handles psql backslash commands.

    The ``tests/examplefiles`` contains a few test files with data to be
    parsed by these lexers.

    :copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�Lexer�
RegexLexer�
do_insertions�bygroups�words)�Punctuation�
Whitespace�Error�Text�Comment�Operator�Keyword�Name�String�Number�Generic)�get_lexer_by_name�
ClassNotFound)�	iteritems)�KEYWORDS�	DATATYPES�PSEUDO_TYPES�PLPGSQL_KEYWORDS)�_tsql_builtins�
PostgresLexer�PlPgsqlLexer�PostgresConsoleLexer�SqlLexer�TransactSqlLexer�
MySqlLexer�SqliteConsoleLexer�RqlLexerz.*?
z\s+LANGUAGE\s+'?(\w+)'?z\bDO\bccs�d}tj|j|j�|j�d��}|dk	r>|j|jd��}n|ttj|jtd|j	�d�|j	����}|r�|j|d
jd��}n8tt
j|jtd|j	�d�|j	����}|r�|jd�}|j	d�t|jd�fV|j	d�tj|jd�fV|j	d�t|jd�fV|�r.x:|j
|jd	��D]}|V�qWn|j	d	�t|jd	�fV|j	d
�t|jd
�fV|j	d�tj|jd�fV|j	d�t|jd�fVdS)z�Parse the content of a $-string using a lexer

    The lexer is chosen looking for a nearby LANGUAGE or assumed as
    plpgsql if inside a DO statement and no LANGUAGE has been found.
    N�d�r��plpgsql���������)�language_re�match�text�end�
_get_lexer�group�list�finditer�max�start�do_rerZ	Delimiter�get_tokens_unprocessed)�lexerr.�l�m�x�r=�/usr/lib/python3.6/sql.py�language_callbackAs, $$
r?cs(eZdZdZ�fdd�Zdd�Z�ZS)�PostgresBasea�Base class for Postgres-related lexers.

    This is implemented as a mixin to avoid the Lexer metaclass kicking in.
    this way the different lexer don't have a common Lexer ancestor. If they
    had, _tokens could be created on this ancestor and not updated for the
    other classes, resulting e.g. in PL/pgSQL parsed as SQL. This shortcoming
    seem to suggest that regexp lexers are not really subclassable.
    c's0||_x$tt|�j|f|��D]
}|VqWdS)N)r/�superr@r8)�selfr/�argsr<)�	__class__r=r>r8osz#PostgresBase.get_tokens_unprocessedcCs�|j�dkrtd|j�S|g}|jd�r:|j|dd��|jd�rV|j|dd��|jd�r||jd�r||j|dd	��x4|D](}yt|f|j�Stk
r�Yq�Xq�WdSdS)
N�sql�
postgresqlZplr&�ur#)rFr,r,)�lowerr�options�
startswith�append�endswithr)rBZlangZtriesr:r=r=r>r1vs



zPostgresBase._get_lexer)�__name__�
__module__�__qualname__�__doc__r8r1�
__classcell__r=r=)rDr>r@fsr@c@s:eZdZdZdZddgZdgZejZ	de
fdejfdej
d	fd
djdd
�eeD��dejfeedd�efdefdefdejfdejfdejfdeejej�dfdeejej�dfdefdefdejfdefgdej
d	fdej
dfd ej
fd!ej
fgd"ejfd#ejfd$ejdfgd%ejfd&ejfd'ejdfgd(�Z d)S)*rzM
    Lexer for the PostgreSQL dialect of SQL.

    .. versionadded:: 1.5
    zPostgreSQL SQL dialectrFZpostgresztext/x-postgresqlz\s+z--.*\n?z/\*zmultiline-comments�(�|ccs|]}|jdd�VqdS)� z\s+N)�replace)�.0�sr=r=r>�	<genexpr>�szPostgresLexer.<genexpr>z)\bz\b)�suffixz[+*/<>=~!@#%^&|`?-]+z::z\$\d+z&([0-9]*\.[0-9]*|[0-9]+)(e[+-]?[0-9]+)?z[0-9]+z((?:E|U&)?)(')�stringz((?:U&)?)(")zquoted-identz$(?s)(\$)([^$]*)(\$)(.*?)(\$)(\2)(\$)z	[a-z_]\w*z:(['"]?)[a-z]\w*\b\1z[;:()\[\]{},.]z\*/z#popz[^/*]+z[/*]z[^']+z''�'z[^"]+z""�")�rootzmultiline-commentsrZzquoted-identN)!rMrNrOrP�name�aliases�	mimetypes�re�
IGNORECASE�flagsr
r�Single�	Multiline�joinrrr�Builtinrrr
r�Variabler�Float�IntegerrrZAffixr?r�tokensr=r=r=r>r�s>
$


c@s�eZdZdZdZdgZdgZejZ	e
dd�eej
�D��Z
xPee
d�D]4\ZZedekrHeeed	d
�efe
de<[PqHWds�td��d
ejfdefdejfdejfge
ddd�<dS)rzR
    Handle the extra syntax in Pl/pgSQL language.

    .. versionadded:: 1.5
    zPL/pgSQLr%ztext/x-plpgsqlccs"|]\}}||dd�fVqdS)Nr=)rV�kr:r=r=r>rX�szPlPgsqlLexer.<genexpr>r]r#z\b)rYrzSQL keywords not foundz\%[a-z]\w*\bz:=z\<\<[a-z]\w*\>\>z\#[a-z]\w*\bN)rMrNrOrPr^r_r`rarbrc�dictrrrk�	enumerate�i�patternr
rrr�AssertionErrorrrgr�Label�Pseudor=r=r=r>r�s"c@s�eZdZdZdZgZejZe	dd�e
ej�D��Zedj
dejdf�dedfd	efdejfd
ejfdejfdejfd
ejfged<dS)�PsqlRegexLexerz�
    Extend the PostgresLexer adding support specific for psql commands.

    This is not a complete psql lexer yet as it lacks prompt support
    and output rendering.
    z'PostgreSQL console - regexp based lexerccs"|]\}}||dd�fVqdS)Nr=)rVrlr:r=r=r>rX�szPsqlRegexLexer.<genexpr>r]z\\[^\s]+zpsql-commandz\nz\s+z:(['"]?)[a-z]\w*\b\1z'(''|[^'])*'z	`([^`])*`z[^\s]+N)rMrNrOrPr^r_rarbrcrmrrrkrKr
rsr
rrhrrdZBacktick�Symbolr=r=r=r>rt�srtz^(\S.*?)??[=\-\(\$\'\"][#>]z\s*\\z
;\s*(--.*?)?$z(\s*)(\\.+?)(\s+)$z(ERROR|FATAL):zS((?:DEBUG|INFO|NOTICE|WARNING|ERROR|FATAL|HINT|DETAIL|CONTEXT|LINE [0-9]+):)(.*?\n)c@s4eZdZdZdd�Zdd�Zdd�Zdd	�ZeZd
S)�	lookaheadz0Wrap an iterator and allow pushing back an item.cCst|�|_d|_dS)N)�iter�	_nextitem)rBr<r=r=r>�__init__s
zlookahead.__init__cCs|S)Nr=)rBr=r=r>�__iter__szlookahead.__iter__cCs
||_|S)N)rx)rBror=r=r>�sendszlookahead.sendcCs$|jdk	r|j}d|_|St|j�S)N)rx�nextrw)rBZnir=r=r>�__next__s

zlookahead.__next__N)	rMrNrOrPryrzr{r}r|r=r=r=r>rv
srvc@s,eZdZdZdZdddgZdgZdd�Zd	S)
rz=
    Lexer for psql sessions.

    .. versionadded:: 1.5
    zPostgreSQL console (psql)Zpsqlzpostgresql-consolezpostgres-consoleztext/x-postgresql-psqlc

cs�tf|j�}ttj|��}�x�d}g}x�yt|�}Wntk
rJPYnX|jd�r�|r�td	|j�}x|j	|�D]
}|VqtWPt
j|�}	|	dk	r�|jt
|�dtj|	j�fgf�||t
|	j��d�7}n||7}tj|�s�tj|�r(Pq(Wx t||j	|��D]}
|
V�qWtj}x�t|�}t
j|�}	|	dk	�rD|j|�Ptj|�}|dk	�r�|jd�jd��s||jd�jd��r�tj}|jd�tj|jd�fV|jd�||jd�fVnd||fV�qWqWdS)
N��$�consolerr#ZERRORZFATALr&)r�)rtrIrv�line_re�findallr|�
StopIterationrJrr8�	re_promptr.rK�lenr�Promptr2�re_psql_command�re_end_command�searchr�Outputr{�
re_messager	r6ZStrong)
rB�datarE�lines�curcode�
insertions�liner9r<Zmprompt�itemZ	out_tokenZmmsgr=r=r>r8+sT









z+PostgresConsoleLexer.get_tokens_unprocessedN)rMrNrOrPr^r_r`r8r=r=r=r>r s

c�@s�eZdZdZdZdgZdgZdgZej	Z
defdej
fdejd	fe�d"�d��d��efe�d#�d��d��ejf�def�dejf�dej
f�dejf�def�defgdejd	f�dej�df�dejf�dejfg�d �Z�d!S($rz
    Lexer for Structured Query Language. Currently, this lexer does
    not recognize any special syntax except ANSI SQL.
    �SQLrEz*.sqlz
text/x-sqlz\s+z--.*\n?z/\*zmultiline-comments�ABORT�ABS�ABSOLUTE�ACCESS�ADA�ADD�ADMIN�AFTER�	AGGREGATE�ALIAS�ALL�ALLOCATE�ALTER�ANALYSE�ANALYZE�AND�ANY�ARE�AS�ASC�
ASENSITIVE�	ASSERTION�
ASSIGNMENT�
ASYMMETRIC�AT�ATOMIC�
AUTHORIZATION�AVG�BACKWARD�BEFORE�BEGIN�BETWEEN�BITVAR�
BIT_LENGTH�BOTH�BREADTH�BY�C�CACHE�CALL�CALLED�CARDINALITY�CASCADE�CASCADED�CASE�CAST�CATALOG�CATALOG_NAME�CHAIN�CHARACTERISTICS�CHARACTER_LENGTH�CHARACTER_SET_CATALOG�CHARACTER_SET_NAME�CHARACTER_SET_SCHEMA�CHAR_LENGTH�CHECK�CHECKED�
CHECKPOINT�CLASS�CLASS_ORIGIN�CLOB�CLOSE�CLUSTER�COALSECE�COBOL�COLLATE�	COLLATION�COLLATION_CATALOG�COLLATION_NAME�COLLATION_SCHEMA�COLUMN�COLUMN_NAME�COMMAND_FUNCTION�COMMAND_FUNCTION_CODE�COMMENT�COMMIT�	COMMITTED�
COMPLETION�CONDITION_NUMBER�CONNECT�
CONNECTION�CONNECTION_NAME�
CONSTRAINT�CONSTRAINTS�CONSTRAINT_CATALOG�CONSTRAINT_NAME�CONSTRAINT_SCHEMA�CONSTRUCTOR�CONTAINS�CONTINUE�
CONVERSION�CONVERT�COPY�
CORRESPONTING�COUNT�CREATE�CREATEDB�
CREATEUSER�CROSS�CUBE�CURRENT�CURRENT_DATE�CURRENT_PATH�CURRENT_ROLE�CURRENT_TIME�CURRENT_TIMESTAMP�CURRENT_USER�CURSOR�CURSOR_NAME�CYCLE�DATA�DATABASE�DATETIME_INTERVAL_CODE�DATETIME_INTERVAL_PRECISION�DAY�
DEALLOCATE�DECLARE�DEFAULT�DEFAULTS�
DEFERRABLE�DEFERRED�DEFINED�DEFINER�DELETE�	DELIMITER�
DELIMITERS�DEREF�DESC�DESCRIBE�
DESCRIPTOR�DESTROY�
DESTRUCTOR�
DETERMINISTIC�DIAGNOSTICS�
DICTIONARY�
DISCONNECT�DISPATCH�DISTINCT�DO�DOMAIN�DROP�DYNAMIC�DYNAMIC_FUNCTION�DYNAMIC_FUNCTION_CODE�EACH�ELSE�ELSIF�ENCODING�	ENCRYPTED�END�END-EXEC�EQUALS�ESCAPE�EVERY�	EXCEPTION�EXCEPT�	EXCLUDING�	EXCLUSIVE�EXEC�EXECUTE�EXISTING�EXISTS�EXPLAIN�EXTERNAL�EXTRACT�FALSE�FETCH�FINAL�FIRST�FOR�FORCE�FOREIGN�FORTRAN�FORWARD�FOUND�FREE�FREEZE�FROM�FULL�FUNCTION�G�GENERAL�	GENERATED�GET�GLOBAL�GO�GOTO�GRANT�GRANTED�GROUP�GROUPING�HANDLER�HAVING�	HIERARCHY�HOLD�HOST�IDENTITY�IF�IGNORE�ILIKE�	IMMEDIATE�	IMMUTABLE�IMPLEMENTATION�IMPLICIT�IN�	INCLUDING�	INCREMENT�INDEX�
INDITCATOR�INFIX�INHERITS�
INITIALIZE�	INITIALLY�INNER�INOUT�INPUT�INSENSITIVE�INSERT�INSTANTIABLE�INSTEAD�	INTERSECT�INTO�INVOKER�IS�ISNULL�	ISOLATION�ITERATE�JOIN�KEY�
KEY_MEMBER�KEY_TYPE�LANCOMPILER�LANGUAGE�LARGE�LAST�LATERAL�LEADING�LEFT�LENGTH�LESS�LEVEL�LIKE�LIMIT�LISTEN�LOAD�LOCAL�	LOCALTIME�LOCALTIMESTAMP�LOCATION�LOCATOR�LOCK�LOWER�MAP�MATCH�MAX�MAXVALUE�MESSAGE_LENGTH�MESSAGE_OCTET_LENGTH�MESSAGE_TEXT�METHOD�MIN�MINUTE�MINVALUE�MOD�MODE�MODIFIES�MODIFY�MONTH�MORE�MOVE�MUMPS�NAMES�NATIONAL�NATURAL�NCHAR�NCLOB�NEW�NEXT�NO�
NOCREATEDB�NOCREATEUSER�NONE�NOT�NOTHING�NOTIFY�NOTNULL�NULL�NULLABLE�NULLIF�OBJECT�OCTET_LENGTH�OF�OFF�OFFSET�OIDS�OLD�ON�ONLY�OPEN�	OPERATION�OPERATOR�OPTION�OPTIONS�OR�ORDER�
ORDINALITY�OUT�OUTER�OUTPUT�OVERLAPS�OVERLAY�
OVERRIDING�OWNER�PAD�	PARAMETER�
PARAMETERS�PARAMETER_MODE�PARAMATER_NAME�PARAMATER_ORDINAL_POSITION�PARAMETER_SPECIFIC_CATALOG�PARAMETER_SPECIFIC_NAME�PARAMATER_SPECIFIC_SCHEMA�PARTIAL�PASCAL�PENDANT�PLACING�PLI�POSITION�POSTFIX�	PRECISION�PREFIX�PREORDER�PREPARE�PRESERVE�PRIMARY�PRIOR�
PRIVILEGES�
PROCEDURAL�	PROCEDURE�PUBLIC�READ�READS�RECHECK�	RECURSIVE�REF�
REFERENCES�REFERENCING�REINDEX�RELATIVE�RENAME�
REPEATABLE�REPLACE�RESET�RESTART�RESTRICT�RESULT�RETURN�RETURNED_LENGTH�RETURNED_OCTET_LENGTH�RETURNED_SQLSTATE�RETURNS�REVOKE�RIGHT�ROLE�ROLLBACK�ROLLUP�ROUTINE�ROUTINE_CATALOG�ROUTINE_NAME�ROUTINE_SCHEMA�ROW�ROWS�	ROW_COUNT�RULE�
SAVE_POINT�SCALE�SCHEMA�SCHEMA_NAME�SCOPE�SCROLL�SEARCH�SECOND�SECURITY�SELECT�SELF�	SENSITIVE�SERIALIZABLE�SERVER_NAME�SESSION�SESSION_USER�SET�SETOF�SETS�SHARE�SHOW�SIMILAR�SIMPLE�SIZE�SOME�SOURCE�SPACE�SPECIFIC�SPECIFICTYPE�
SPECIFIC_NAME�SQLCODE�SQLERROR�SQLEXCEPTION�SQLSTATE�SQLWARNINIG�STABLE�START�STATE�	STATEMENT�STATIC�
STATISTICS�STDIN�STDOUT�STORAGE�STRICT�	STRUCTURE�STYPE�SUBCLASS_ORIGIN�SUBLIST�	SUBSTRING�SUM�	SYMMETRIC�SYSID�SYSTEM�SYSTEM_USER�TABLE�
TABLE_NAME� TEMP�TEMPLATE�	TEMPORARY�	TERMINATE�THAN�THEN�	TIMESTAMP�
TIMEZONE_HOUR�TIMEZONE_MINUTE�TO�TOAST�TRAILING�
TRANSATION�TRANSACTIONS_COMMITTED�TRANSACTIONS_ROLLED_BACK�TRANSATION_ACTIVE�	TRANSFORM�
TRANSFORMS�	TRANSLATE�TRANSLATION�TREAT�TRIGGER�TRIGGER_CATALOG�TRIGGER_NAME�TRIGGER_SCHEMA�TRIM�TRUE�TRUNCATE�TRUSTED�TYPE�UNCOMMITTED�UNDER�UNENCRYPTED�UNION�UNIQUE�UNKNOWN�UNLISTEN�UNNAMED�UNNEST�UNTIL�UPDATE�UPPER�USAGE�USER�USER_DEFINED_TYPE_CATALOG�USER_DEFINED_TYPE_NAME�USER_DEFINED_TYPE_SCHEMA�USING�VACUUM�VALID�	VALIDATOR�VALUES�VARIABLE�VERBOSE�VERSION�VIEW�VOLATILE�WHEN�WHENEVER�WHERE�WITH�WITHOUT�WORK�WRITE�YEAR�ZONEz\b)rY�ARRAY�BIGINT�BINARY�BIT�BLOB�BOOLEAN�CHAR�	CHARACTER�DATE�DEC�DECIMAL�FLOAT�INT�INTEGER�INTERVAL�NUMBER�NUMERIC�REAL�SERIAL�SMALLINT�VARCHAR�VARYING�INT8�SERIAL8�TEXTz[+*/<>=~!@#%^&|`?-]z[0-9]+z'(''|[^'])*'z"(""|[^"])*"z[a-z_][\w$]*z[;:()\[\],.]z\*/z#popz[^/*]+z[/*])r]zmultiline-commentsN(�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrrrrrrrr	r
rrr
rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrrrrrrrr	r
rrr
rrrrrrrrrrrrrrrrrrr r!r"r#r$r%r&r�r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rr�r�r�r�)r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�)rMrNrOrPr^r_�	filenamesr`rarbrcr
rrdrerr
rrgrrrjrrurrkr=r=r=r>rps�






c@sVeZdZdZdZddgZdgZdgZej	ej
BZdefde
jfd	e
jd
feej�efeejdd�ejfeejdd�ejfeejdd�ejfd
eeeej�feejdd�efdeeee�fdej fdej!fdej!fdej!fdej"fde#jfde#j$fde%fdej&fdej'fdeeje%�fdefdej'j(fgd	e
jd
fde
jdfde
jfde
jfgd �Z)d!S)"rz�
    Transact-SQL (T-SQL) is Microsoft's and Sybase's proprietary extension to
    SQL.

    The list of keywords includes ODBC and keywords reserved for future use..
    zTransact-SQLZtsqlzt-sqlz*.sqlztext/x-tsqlz\s+z
--(?m).*?$\n?z/\*zmultiline-commentsz\b)rYz(goto)(\s+)(\w+\b)z(\[)([^]]+)(\])z0x[0-9a-f]+z[0-9]+\.[0-9]*(e[+-]?[0-9]+)?z\.[0-9]+(e[+-]?[0-9]+)?z[0-9]+e[+-]?[0-9]+z[0-9]+z'(''|[^'])*'z"(""|[^"])*"z[;(),.]z@@\w+z@\w+z(\w+)(:)z#?#?\w+z\?z\*/z#popz[^/*]+z[/*])r]zmultiline-commentsN)*rMrNrOrPr^r_r�r`rarb�UNICODErcrrrdrerrZ	OPERATORSrZOPERATOR_WORDSZWordZTYPESrZClassZ	FUNCTIONS�Functionrr
rrrrZHexrirjrrurrgrhZMagicrkr=r=r=r>r�sB


c@s�eZdZdZdZdgZdgZejZ	de
fdejfdej
dfd	ejfd
ejfdejfdejfd
ejfdefdeeje
e�fdefdejfdejfdeeje
e�fdefdejfdefgdej
dfdej
dfdej
fdej
fgd�ZdS)rz"
    Special lexer for MySQL.
    ZMySQLZmysqlztext/x-mysqlz\s+z(#|--\s+).*\n?z/\*zmultiline-commentsz[0-9]+z[0-9]*\.[0-9]+(e[+-][0-9]+)z'(\\\\|\\'|''|[^'])*'z"(\\\\|\\"|""|[^"])*"z`(\\\\|\\`|``|[^`])*`z[+*/<>=~!@#%^&|`?-]a\b(tinyint|smallint|mediumint|int|integer|bigint|date|datetime|time|bit|bool|tinytext|mediumtext|longtext|text|tinyblob|mediumblob|longblob|blob|float|double|double\s+precision|real|numeric|dec|decimal|timestamp|year|char|varchar|varbinary|varcharacter|enum|set)(\b\s*)(\()?a3\b(add|all|alter|analyze|and|as|asc|asensitive|before|between|bigint|binary|blob|both|by|call|cascade|case|change|char|character|check|collate|column|condition|constraint|continue|convert|create|cross|current_date|current_time|current_timestamp|current_user|cursor|database|databases|day_hour|day_microsecond|day_minute|day_second|dec|decimal|declare|default|delayed|delete|desc|describe|deterministic|distinct|distinctrow|div|double|drop|dual|each|else|elseif|enclosed|escaped|exists|exit|explain|fetch|flush|float|float4|float8|for|force|foreign|from|fulltext|grant|group|having|high_priority|hour_microsecond|hour_minute|hour_second|if|ignore|in|index|infile|inner|inout|insensitive|insert|int|int1|int2|int3|int4|int8|integer|interval|into|is|iterate|join|key|keys|kill|leading|leave|left|like|limit|lines|load|localtime|localtimestamp|lock|long|loop|low_priority|match|minute_microsecond|minute_second|mod|modifies|natural|no_write_to_binlog|not|numeric|on|optimize|option|optionally|or|order|out|outer|outfile|precision|primary|procedure|purge|raid0|read|reads|real|references|regexp|release|rename|repeat|replace|require|restrict|return|revoke|right|rlike|schema|schemas|second_microsecond|select|sensitive|separator|set|show|smallint|soname|spatial|specific|sql|sql_big_result|sql_calc_found_rows|sql_small_result|sqlexception|sqlstate|sqlwarning|ssl|starting|straight_join|table|terminated|then|to|trailing|trigger|undo|union|unique|unlock|unsigned|update|usage|use|using|utc_date|utc_time|utc_timestamp|values|varying|when|where|while|with|write|x509|xor|year_month|zerofill)\bz*\b(auto_increment|engine|charset|tables)\bz(true|false|null)z([a-z_]\w*)(\s*)(\()z	[a-z_]\w*z@[a-z0-9]*[._]*[a-z0-9]*z[;:()\[\],.]z\*/z#popz[^/*]+z[/*])r]zmultiline-commentsN)rMrNrOrPr^r_r`rarbrcr
rrdrerrjrir�Doublerurrr
ZTyperrsrZConstantr�rhrkr=r=r=r>rs:


c@s.eZdZdZdZdgZdgZdgZdd�ZdS)	r zO
    Lexer for example sessions using sqlite3.

    .. versionadded:: 0.11
    Z
sqlite3conZsqlite3z*.sqlite3-consoleztext/x-sqlite3-consoleccs�tf|j�}d}g}x�tj|�D]�}|j�}|jd�s@|jd�rv|jt|�dtj	|dd�fgf�||dd�7}q |r�xt
||j|��D]
}|Vq�Wd}g}|jd�r�|j�tj
|fVq |j�tj|fVq W|r�xt
||j|��D]
}|Vq�WdS)Nr~zsqlite> z   ...> r�zSQL error: )rrIr�r4r2rJrKr�rr�rr8r6Z	Tracebackr�)rBr�rEr�r�r.r�r�r=r=r>r8qs,


z)SqliteConsoleLexer.get_tokens_unprocessedN)	rMrNrOrPr^r_r�r`r8r=r=r=r>r esc@sreZdZdZdZdgZdgZdgZej	Z
ddefdefd	e
fd
ejfdejfdefd
ejfdejfdefg	iZdS)r!zx
    Lexer for Relation Query Language.

    `RQL <http://www.logilab.org/project/rql>`_

    .. versionadded:: 2.0
    ZRQLZrqlz*.rqlz
text/x-rqlr]z\s+z�(DELETE|SET|INSERT|UNION|DISTINCT|WITH|WHERE|BEING|OR|AND|NOT|GROUPBY|HAVING|ORDERBY|ASC|DESC|LIMIT|OFFSET|TODAY|NOW|TRUE|FALSE|NULL|EXISTS)\bz
[+*/<>=%-]z)(Any|is|instance_of|CWEType|CWRelation)\bz[0-9]+z[A-Z_]\w*\??z'(''|[^'])*'z"(""|[^"])*"z[;:()\[\],.]N)rMrNrOrPr^r_r�r`rarbrcr
r
rrrgrrjrrdrrkr=r=r=r>r!�s")7rPraZpygments.lexerrrrrrZpygments.tokenrrr	r
rrr
rrrrZpygments.lexersrrZ
pygments.utilrZ"pygments.lexers._postgres_builtinsrrrrr�__all__�compiler�rbr-r7r?�objectr@rrrtr�r�r�Zre_errorr�rvrrrrr r!r=r=r=r>�<module>'s@4
%'8!




Pt8I(

Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 8.57 KB 0644
__init__.cpython-36.pyc File 8.57 KB 0644
_asy_builtins.cpython-36.opt-1.pyc File 28.06 KB 0644
_asy_builtins.cpython-36.pyc File 28.06 KB 0644
_cl_builtins.cpython-36.opt-1.pyc File 15.85 KB 0644
_cl_builtins.cpython-36.pyc File 15.85 KB 0644
_cocoa_builtins.cpython-36.opt-1.pyc File 41.53 KB 0644
_cocoa_builtins.cpython-36.pyc File 41.53 KB 0644
_csound_builtins.cpython-36.opt-1.pyc File 20.28 KB 0644
_csound_builtins.cpython-36.pyc File 20.28 KB 0644
_lasso_builtins.cpython-36.opt-1.pyc File 107.52 KB 0644
_lasso_builtins.cpython-36.pyc File 107.52 KB 0644
_lua_builtins.cpython-36.opt-1.pyc File 7.46 KB 0644
_lua_builtins.cpython-36.pyc File 7.46 KB 0644
_mapping.cpython-36.opt-1.pyc File 54.89 KB 0644
_mapping.cpython-36.pyc File 54.89 KB 0644
_mql_builtins.cpython-36.opt-1.pyc File 25.45 KB 0644
_mql_builtins.cpython-36.pyc File 25.45 KB 0644
_openedge_builtins.cpython-36.opt-1.pyc File 49.82 KB 0644
_openedge_builtins.cpython-36.pyc File 49.82 KB 0644
_php_builtins.cpython-36.opt-1.pyc File 118.73 KB 0644
_php_builtins.cpython-36.pyc File 118.73 KB 0644
_postgres_builtins.cpython-36.opt-1.pyc File 10.74 KB 0644
_postgres_builtins.cpython-36.pyc File 10.74 KB 0644
_scilab_builtins.cpython-36.opt-1.pyc File 53.99 KB 0644
_scilab_builtins.cpython-36.pyc File 53.99 KB 0644
_sourcemod_builtins.cpython-36.opt-1.pyc File 27.59 KB 0644
_sourcemod_builtins.cpython-36.pyc File 27.59 KB 0644
_stan_builtins.cpython-36.opt-1.pyc File 10.45 KB 0644
_stan_builtins.cpython-36.pyc File 10.45 KB 0644
_stata_builtins.cpython-36.opt-1.pyc File 29.94 KB 0644
_stata_builtins.cpython-36.pyc File 29.94 KB 0644
_tsql_builtins.cpython-36.opt-1.pyc File 13.8 KB 0644
_tsql_builtins.cpython-36.pyc File 13.8 KB 0644
_vim_builtins.cpython-36.opt-1.pyc File 53.89 KB 0644
_vim_builtins.cpython-36.pyc File 53.89 KB 0644
actionscript.cpython-36.opt-1.pyc File 9.51 KB 0644
actionscript.cpython-36.pyc File 9.51 KB 0644
agile.cpython-36.opt-1.pyc File 1.17 KB 0644
agile.cpython-36.pyc File 1.17 KB 0644
algebra.cpython-36.opt-1.pyc File 6.54 KB 0644
algebra.cpython-36.pyc File 6.54 KB 0644
ambient.cpython-36.opt-1.pyc File 2.21 KB 0644
ambient.cpython-36.pyc File 2.21 KB 0644
ampl.cpython-36.opt-1.pyc File 3.77 KB 0644
ampl.cpython-36.pyc File 3.77 KB 0644
apl.cpython-36.opt-1.pyc File 1.69 KB 0644
apl.cpython-36.pyc File 1.69 KB 0644
archetype.cpython-36.opt-1.pyc File 6.1 KB 0644
archetype.cpython-36.pyc File 6.1 KB 0644
asm.cpython-36.opt-1.pyc File 19.83 KB 0644
asm.cpython-36.pyc File 19.83 KB 0644
automation.cpython-36.opt-1.pyc File 15.71 KB 0644
automation.cpython-36.pyc File 15.71 KB 0644
basic.cpython-36.opt-1.pyc File 14.13 KB 0644
basic.cpython-36.pyc File 14.13 KB 0644
bibtex.cpython-36.opt-1.pyc File 3.45 KB 0644
bibtex.cpython-36.pyc File 3.45 KB 0644
business.cpython-36.opt-1.pyc File 20.84 KB 0644
business.cpython-36.pyc File 20.84 KB 0644
c_cpp.cpython-36.opt-1.pyc File 7.81 KB 0644
c_cpp.cpython-36.pyc File 7.81 KB 0644
c_like.cpython-36.opt-1.pyc File 21.32 KB 0644
c_like.cpython-36.pyc File 21.32 KB 0644
capnproto.cpython-36.opt-1.pyc File 1.62 KB 0644
capnproto.cpython-36.pyc File 1.62 KB 0644
chapel.cpython-36.opt-1.pyc File 2.75 KB 0644
chapel.cpython-36.pyc File 2.75 KB 0644
clean.cpython-36.opt-1.pyc File 6.52 KB 0644
clean.cpython-36.pyc File 6.52 KB 0644
compiled.cpython-36.opt-1.pyc File 1.77 KB 0644
compiled.cpython-36.pyc File 1.77 KB 0644
configs.cpython-36.opt-1.pyc File 20.46 KB 0644
configs.cpython-36.pyc File 20.46 KB 0644
console.cpython-36.opt-1.pyc File 3.34 KB 0644
console.cpython-36.pyc File 3.34 KB 0644
crystal.cpython-36.opt-1.pyc File 9.53 KB 0644
crystal.cpython-36.pyc File 9.53 KB 0644
csound.cpython-36.opt-1.pyc File 7.76 KB 0644
csound.cpython-36.pyc File 7.76 KB 0644
css.cpython-36.opt-1.pyc File 26.39 KB 0644
css.cpython-36.pyc File 26.39 KB 0644
d.cpython-36.opt-1.pyc File 6.33 KB 0644
d.cpython-36.pyc File 6.33 KB 0644
dalvik.cpython-36.opt-1.pyc File 3.16 KB 0644
dalvik.cpython-36.pyc File 3.16 KB 0644
data.cpython-36.opt-1.pyc File 10.34 KB 0644
data.cpython-36.pyc File 10.34 KB 0644
diff.cpython-36.opt-1.pyc File 3.53 KB 0644
diff.cpython-36.pyc File 3.53 KB 0644
dotnet.cpython-36.opt-1.pyc File 19.03 KB 0644
dotnet.cpython-36.pyc File 19.03 KB 0644
dsls.cpython-36.opt-1.pyc File 25.33 KB 0644
dsls.cpython-36.pyc File 25.33 KB 0644
dylan.cpython-36.opt-1.pyc File 8.22 KB 0644
dylan.cpython-36.pyc File 8.22 KB 0644
ecl.cpython-36.opt-1.pyc File 5.48 KB 0644
ecl.cpython-36.pyc File 5.48 KB 0644
eiffel.cpython-36.opt-1.pyc File 2.37 KB 0644
eiffel.cpython-36.pyc File 2.37 KB 0644
elm.cpython-36.opt-1.pyc File 2.25 KB 0644
elm.cpython-36.pyc File 2.25 KB 0644
erlang.cpython-36.opt-1.pyc File 13.6 KB 0644
erlang.cpython-36.pyc File 13.6 KB 0644
esoteric.cpython-36.opt-1.pyc File 7.55 KB 0644
esoteric.cpython-36.pyc File 7.55 KB 0644
ezhil.cpython-36.opt-1.pyc File 2.86 KB 0644
ezhil.cpython-36.pyc File 2.86 KB 0644
factor.cpython-36.opt-1.pyc File 15.8 KB 0644
factor.cpython-36.pyc File 15.8 KB 0644
fantom.cpython-36.opt-1.pyc File 4.64 KB 0644
fantom.cpython-36.pyc File 4.64 KB 0644
felix.cpython-36.opt-1.pyc File 6.26 KB 0644
felix.cpython-36.pyc File 6.26 KB 0644
forth.cpython-36.opt-1.pyc File 4.4 KB 0644
forth.cpython-36.pyc File 4.4 KB 0644
fortran.cpython-36.opt-1.pyc File 9.1 KB 0644
fortran.cpython-36.pyc File 9.1 KB 0644
foxpro.cpython-36.opt-1.pyc File 19.51 KB 0644
foxpro.cpython-36.pyc File 19.51 KB 0644
functional.cpython-36.opt-1.pyc File 935 B 0644
functional.cpython-36.pyc File 935 B 0644
go.cpython-36.opt-1.pyc File 2.76 KB 0644
go.cpython-36.pyc File 2.76 KB 0644
grammar_notation.cpython-36.opt-1.pyc File 4.61 KB 0644
grammar_notation.cpython-36.pyc File 4.61 KB 0644
graph.cpython-36.opt-1.pyc File 1.95 KB 0644
graph.cpython-36.pyc File 1.95 KB 0644
graphics.cpython-36.opt-1.pyc File 19.17 KB 0644
graphics.cpython-36.pyc File 19.17 KB 0644
haskell.cpython-36.opt-1.pyc File 19.07 KB 0644
haskell.cpython-36.pyc File 19.07 KB 0644
haxe.cpython-36.opt-1.pyc File 13.37 KB 0644
haxe.cpython-36.pyc File 13.37 KB 0644
hdl.cpython-36.opt-1.pyc File 15.25 KB 0644
hdl.cpython-36.pyc File 15.25 KB 0644
hexdump.cpython-36.opt-1.pyc File 2.53 KB 0644
hexdump.cpython-36.pyc File 2.53 KB 0644
html.cpython-36.opt-1.pyc File 12.07 KB 0644
html.cpython-36.pyc File 12.07 KB 0644
idl.cpython-36.opt-1.pyc File 15.93 KB 0644
idl.cpython-36.pyc File 15.93 KB 0644
igor.cpython-36.opt-1.pyc File 21.25 KB 0644
igor.cpython-36.pyc File 21.25 KB 0644
inferno.cpython-36.opt-1.pyc File 2.42 KB 0644
inferno.cpython-36.pyc File 2.42 KB 0644
installers.cpython-36.opt-1.pyc File 9.17 KB 0644
installers.cpython-36.pyc File 9.17 KB 0644
int_fiction.cpython-36.opt-1.pyc File 27.68 KB 0644
int_fiction.cpython-36.pyc File 27.68 KB 0644
iolang.cpython-36.opt-1.pyc File 1.59 KB 0644
iolang.cpython-36.pyc File 1.59 KB 0644
j.cpython-36.opt-1.pyc File 3.36 KB 0644
j.cpython-36.pyc File 3.36 KB 0644
javascript.cpython-36.opt-1.pyc File 34.78 KB 0644
javascript.cpython-36.pyc File 34.78 KB 0644
julia.cpython-36.opt-1.pyc File 9.42 KB 0644
julia.cpython-36.pyc File 9.42 KB 0644
jvm.cpython-36.opt-1.pyc File 42 KB 0644
jvm.cpython-36.pyc File 42 KB 0644
lisp.cpython-36.opt-1.pyc File 124.07 KB 0644
lisp.cpython-36.pyc File 124.07 KB 0644
make.cpython-36.opt-1.pyc File 4.31 KB 0644
make.cpython-36.pyc File 4.31 KB 0644
markup.cpython-36.opt-1.pyc File 13.97 KB 0644
markup.cpython-36.pyc File 13.97 KB 0644
math.cpython-36.opt-1.pyc File 938 B 0644
math.cpython-36.pyc File 938 B 0644
matlab.cpython-36.opt-1.pyc File 25.6 KB 0644
matlab.cpython-36.pyc File 25.6 KB 0644
ml.cpython-36.opt-1.pyc File 11.77 KB 0644
ml.cpython-36.pyc File 11.77 KB 0644
modeling.cpython-36.opt-1.pyc File 8.94 KB 0644
modeling.cpython-36.pyc File 8.94 KB 0644
modula2.cpython-36.opt-1.pyc File 21.72 KB 0644
modula2.cpython-36.pyc File 21.72 KB 0644
monte.cpython-36.opt-1.pyc File 3.76 KB 0644
monte.cpython-36.pyc File 3.76 KB 0644
ncl.cpython-36.opt-1.pyc File 59.05 KB 0644
ncl.cpython-36.pyc File 59.05 KB 0644
nimrod.cpython-36.opt-1.pyc File 3.65 KB 0644
nimrod.cpython-36.pyc File 3.65 KB 0644
nit.cpython-36.opt-1.pyc File 2.47 KB 0644
nit.cpython-36.pyc File 2.47 KB 0644
nix.cpython-36.opt-1.pyc File 3.17 KB 0644
nix.cpython-36.pyc File 3.17 KB 0644
oberon.cpython-36.opt-1.pyc File 2.73 KB 0644
oberon.cpython-36.pyc File 2.73 KB 0644
objective.cpython-36.opt-1.pyc File 16.35 KB 0644
objective.cpython-36.pyc File 16.35 KB 0644
ooc.cpython-36.opt-1.pyc File 2.42 KB 0644
ooc.cpython-36.pyc File 2.42 KB 0644
other.cpython-36.opt-1.pyc File 2.25 KB 0644
other.cpython-36.pyc File 2.25 KB 0644
parasail.cpython-36.opt-1.pyc File 2.17 KB 0644
parasail.cpython-36.pyc File 2.17 KB 0644
parsers.cpython-36.opt-1.pyc File 18.38 KB 0644
parsers.cpython-36.pyc File 18.38 KB 0644
pascal.cpython-36.opt-1.pyc File 24.53 KB 0644
pascal.cpython-36.pyc File 24.53 KB 0644
pawn.cpython-36.opt-1.pyc File 5.86 KB 0644
pawn.cpython-36.pyc File 5.86 KB 0644
perl.cpython-36.opt-1.pyc File 24.92 KB 0644
perl.cpython-36.pyc File 24.92 KB 0644
php.cpython-36.opt-1.pyc File 7.79 KB 0644
php.cpython-36.pyc File 7.79 KB 0644
praat.cpython-36.opt-1.pyc File 9.74 KB 0644
praat.cpython-36.pyc File 9.74 KB 0644
prolog.cpython-36.opt-1.pyc File 6.7 KB 0644
prolog.cpython-36.pyc File 6.7 KB 0644
python.cpython-36.opt-1.pyc File 30.97 KB 0644
python.cpython-36.pyc File 30.97 KB 0644
qvt.cpython-36.opt-1.pyc File 4.41 KB 0644
qvt.cpython-36.pyc File 4.41 KB 0644
r.cpython-36.opt-1.pyc File 22.62 KB 0644
r.cpython-36.pyc File 22.62 KB 0644
rdf.cpython-36.opt-1.pyc File 5.62 KB 0644
rdf.cpython-36.pyc File 5.62 KB 0644
rebol.cpython-36.opt-1.pyc File 11.53 KB 0644
rebol.cpython-36.pyc File 11.53 KB 0644
resource.cpython-36.opt-1.pyc File 2.24 KB 0644
resource.cpython-36.pyc File 2.24 KB 0644
rnc.cpython-36.opt-1.pyc File 1.43 KB 0644
rnc.cpython-36.pyc File 1.43 KB 0644
roboconf.cpython-36.opt-1.pyc File 1.87 KB 0644
roboconf.cpython-36.pyc File 1.87 KB 0644
robotframework.cpython-36.opt-1.pyc File 18.95 KB 0644
robotframework.cpython-36.pyc File 18.95 KB 0644
ruby.cpython-36.opt-1.pyc File 13.97 KB 0644
ruby.cpython-36.pyc File 13.97 KB 0644
rust.cpython-36.opt-1.pyc File 4.53 KB 0644
rust.cpython-36.pyc File 4.53 KB 0644
sas.cpython-36.opt-1.pyc File 8 KB 0644
sas.cpython-36.pyc File 8 KB 0644
scripting.cpython-36.opt-1.pyc File 52.07 KB 0644
scripting.cpython-36.pyc File 52.16 KB 0644
shell.cpython-36.opt-1.pyc File 19.88 KB 0644
shell.cpython-36.pyc File 19.88 KB 0644
smalltalk.cpython-36.opt-1.pyc File 4.28 KB 0644
smalltalk.cpython-36.pyc File 4.28 KB 0644
smv.cpython-36.opt-1.pyc File 2.5 KB 0644
smv.cpython-36.pyc File 2.5 KB 0644
snobol.cpython-36.opt-1.pyc File 1.89 KB 0644
snobol.cpython-36.pyc File 1.89 KB 0644
special.cpython-36.opt-1.pyc File 3.1 KB 0644
special.cpython-36.pyc File 3.1 KB 0644
sql.cpython-36.opt-1.pyc File 23.96 KB 0644
sql.cpython-36.pyc File 24.02 KB 0644
stata.cpython-36.opt-1.pyc File 2.15 KB 0644
stata.cpython-36.pyc File 2.15 KB 0644
supercollider.cpython-36.opt-1.pyc File 3.09 KB 0644
supercollider.cpython-36.pyc File 3.09 KB 0644
tcl.cpython-36.opt-1.pyc File 4.05 KB 0644
tcl.cpython-36.pyc File 4.05 KB 0644
templates.cpython-36.opt-1.pyc File 61.15 KB 0644
templates.cpython-36.pyc File 61.15 KB 0644
testing.cpython-36.opt-1.pyc File 7.62 KB 0644
testing.cpython-36.pyc File 7.62 KB 0644
text.cpython-36.opt-1.pyc File 1.28 KB 0644
text.cpython-36.pyc File 1.28 KB 0644
textedit.cpython-36.opt-1.pyc File 4.77 KB 0644
textedit.cpython-36.pyc File 4.77 KB 0644
textfmts.cpython-36.opt-1.pyc File 6.89 KB 0644
textfmts.cpython-36.pyc File 6.89 KB 0644
theorem.cpython-36.opt-1.pyc File 16.62 KB 0644
theorem.cpython-36.pyc File 16.62 KB 0644
trafficscript.cpython-36.opt-1.pyc File 1.5 KB 0644
trafficscript.cpython-36.pyc File 1.5 KB 0644
typoscript.cpython-36.opt-1.pyc File 5.52 KB 0644
typoscript.cpython-36.pyc File 5.52 KB 0644
urbi.cpython-36.opt-1.pyc File 4.48 KB 0644
urbi.cpython-36.pyc File 4.48 KB 0644
varnish.cpython-36.opt-1.pyc File 5.23 KB 0644
varnish.cpython-36.pyc File 5.23 KB 0644
verification.cpython-36.opt-1.pyc File 3.14 KB 0644
verification.cpython-36.pyc File 3.14 KB 0644
web.cpython-36.opt-1.pyc File 1.16 KB 0644
web.cpython-36.pyc File 1.16 KB 0644
webmisc.cpython-36.opt-1.pyc File 24.19 KB 0644
webmisc.cpython-36.pyc File 24.19 KB 0644
whiley.cpython-36.opt-1.pyc File 2.59 KB 0644
whiley.cpython-36.pyc File 2.59 KB 0644
x10.cpython-36.opt-1.pyc File 2.08 KB 0644
x10.cpython-36.pyc File 2.08 KB 0644