Бесплатноlib2to3

Документ Samsung SamFirm_A.i.o_v1.4.3

PatternGrammar.txt

Документ821 Bytes0 скачиваний12.01.2026

Технические данные

из каталога
Тип
Документ
Производитель
Samsung
Модель
SamFirm_A.i.o_v1.4.3
Формат
TXT
Размер
821 Bytes
Добавлен
12.01.2026
Скачивания
0

О файле

Документ Samsung SamFirm_A.i.o_v1.4.3 в формате TXT, 821 Bytes. Путь в каталоге: Lib / lib2to3. Сведения о файле, совместимости и доступе к скачиванию.

из каталога

Содержимое файла

Кодировка: utf-8
# Copyright 2006 Google, Inc. All Rights Reserved.
# Licensed to PSF under a Contributor Agreement.

# A grammar to describe tree matching patterns.
# Not shown here:
# - 'TOKEN' stands for any token (leaf node)
# - 'any' stands for any node (leaf or interior)
# With 'any' we can still specify the sub-structure.

# The start symbol is 'Matcher'.

Matcher: Alternatives ENDMARKER

Alternatives: Alternative ('|' Alternative)*

Alternative: (Unit | NegatedUnit)+

Unit: [NAME '='] ( STRING [Repeater]
                 | NAME [Details] [Repeater]
                 | '(' Alternatives ')' [Repeater]
                 | '[' Alternatives ']'
		 )

NegatedUnit: 'not' (STRING | NAME [Details] | '(' Alternatives ')')

Repeater: '*' | '+' | '{' NUMBER [',' NUMBER] '}'

Details: '<' Alternatives '>'

Похожие и связанные файлы

Соседние разделы каталога

Отзывы и обсуждение

0 комментариев

Комментариев пока нет

Скачали файл? Расскажите, подошёл ли он и что помогло. Первый отзыв особенно полезен.