3

V'íc´ã@sfdZddlmZmZmZmZmZddlmZm	Z	m
Z
mZmZm
Z
mZmZmZdgZGdd„deƒZdS)zØ
    pygments.lexers.devicetree
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Lexers for Devicetree language.

    :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
é)Ú
RegexLexerÚbygroupsÚincludeÚdefaultÚwords)	ÚCommentÚKeywordÚNameÚNumberÚOperatorÚPunctuationÚStringÚTextÚ
WhitespaceÚDevicetreeLexerc@sòeZdZdZdZdZddgZddgZdgZd	Z	d
e	de
ejej
ejƒfde	de
ejej
ejƒfd
e	de
ejej
ejƒfd
e	de
ejej
ejeƒfgdefdefdefdejfdej
fdej
fgde
ejeƒdfdejfdejfde
ejeeƒdfed?d(d)ejfd*efd+efd,e	d-efd.ejfg	ed/ƒed0ƒd1e	d2e
ej eejej
eƒd3fe!d4ƒged/ƒed5ƒd6edfged/ƒed0ƒd1e	d2e
ej eejej
eƒd7fed5ƒd8edfd6efgd9edfd:ej"fd;efdefd<efgd=œZ#d>S)@rz@
    Lexer for Devicetree files.

    .. versionadded:: 2.7
    Z
Devicetreezhttps://www.devicetree.org/Z
devicetreeZdtsz*.dtsz*.dtsiztext/x-cz\s*(?:/[*][^*/]*?[*]/\s*)*z(#include)(z	)([^\n]+)z
(#define)(z(/[^*/{]+/)(z)("[^\n{]+")z)([^\n;{]*)([;]?)z\nz\s+z\\\nz//(\n|[\w\W]*?[^\\]\n)z/(\\\n)?[*][\w\W]*?[*](\\\n)?/z/(\\\n)?[*][\w\W]*z(L?)(")Ústringz0x[0-9a-fA-F]+z\d+z([^\s{}/*]*)(\s*)(:)z#popÚ
compatibleÚmodelÚphandleÚstatusú#address-cellsú#size-cellsÚregúvirtual-regÚrangesú
dma-rangesÚdevice_typeÚnamez\b)Úsuffixz([~!%^&*+=|?:<>/#-])z[()\[\]{},.]z/[a-zA-Z_][\w-]*(?=(?:\s*,\s*[a-zA-Z_][\w-]*|(?:z))*\s*[=;])z[a-zA-Z_]\w*Ú
whitespaceÚmacroz)([^/*@\s&]+|/)(@?)((?:0x)?[0-9a-fA-F,]*)(z)(\{)ÚnodeÚ	statementÚ
statementsú;z#pushz\};ú"zO\\([\\abfnrtv"\']|x[a-fA-F0-9]{2,4}|u[a-fA-F0-9]{4}|U[a-fA-F0-9]{8}|[0-7]{1,3})z	[^\\"\n]+z\\)r rr#Úrootr"r!rN)rrrrrrrrrrrr)$Ú__name__Ú
__module__Ú__qualname__Ú__doc__rÚurlÚaliasesÚ	filenamesÚ	mimetypesÚ_wsrrZPreprocZ	MultilineZPreprocFilerrrÚSingler
ZAffixr
ZHexZIntegerr	ZLabelrrZReservedrÚ	AttributerZFunctionrZEscapeÚtokens©r3r3ú>/tmp/pip-build-gk9425m9/Pygments/pygments/lexers/devicetree.pyrsp









N)r*Zpygments.lexerrrrrrZpygments.tokenrrr	r
rrr
rrÚ__all__rr3r3r3r4Ú<module>	s,