|e dZddlmZmZddlmZddlmZmZm Z m Z m Z ddl m Z mZmZmZmZmZmZmZmZdgZdZdZd Zd ZGd deZy ) z pygments.lexers.usd ~~~~~~~~~~~~~~~~~~~ The module that parses Pixar's Universal Scene Description file format. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. ) RegexLexerbygroups)words)COMMON_ATTRIBUTESKEYWORDS OPERATORS SPECIAL_NAMESTYPES) CommentKeywordNameNumberOperator PunctuationStringText WhitespaceUsdLexerc$t|dd|fgS)Nz\b)prefixsuffix)words_)rtype_s 5/usr/lib/python3/dist-packages/pygments/lexers/usd.py _keywordsrs E% 6 > ??z(\w+(?:\[\])?)z%(\w+(?:\:\w+)*)(?:(\.)(timeSamples))?z([ \t]+)ceZdZdZdZdZddgZddgZdd je e e e e jee jee j eej$eejj(ee fd je e e e e jee j eej$eejj(ee fd je e e e e jee j eej$eejj(ee fd je e e e e j eej$eejj(eefgeee j(zeeej2zeeej$zdej$fgzeeezeDcgc]}|dztj fc}}}zeee j zdefdej>fdefdefdefde fde!fde!fde!fde!fdejDfde!jFfde!jHfdejJfdefdefd efgziZ&y!cc}}}w)"rzi A lexer that parses Pixar's Universal Scene Description file format. .. versionadded:: 2.6 USDz1https://graphics.pixar.com/usd/release/index.htmlusdusdaz*.usdz*.usdarootz4(custom){_WHITESPACE}(uniform)(\s+){}(\s+){}(\s*)(=)) _WHITESPACEz&(custom){_WHITESPACE}{}(\s+){}(\s*)(=)z'(uniform){_WHITESPACE}{}(\s+){}(\s*)(=)z{}{_WHITESPACE}{}(\s*)(=)z\b\w+:[\w:]+\bz\[\]z [(){}\[\]]z#.*?$,;=z$[-]*([0-9]*[.])?[0-9]+(?:e[+-]*\d+)?z'''(?:.|\n)*?'''z"""(?:.|\n)*?"""z'.*?'z".*?"z$<(\.\./)*([\w/]+|[\w/]+\.\w+[\w:]*)>z@.*?@z\(.*"[.\\n]*".*\)z \A#usda .+$z\s+z\w+z[_:.]+N)'__name__ __module__ __qualname____doc__nameurlaliases filenamesformat_TYPE_BASE_ATTRIBUTEr"rr TokenrTyper AttributerTokensrrrr Builtinsrrr rr Singlerr NamespaceInterpolDocHashbangtokens).0rr s000rrrs D =CfoG(#I  D K KKLA gmmZ llJll)):xA B 7 = =K>A gmmZznndDLL,?,?  ! 8 > >K?A gmmZznndDLL,?,?  ! * 0 0K1A gllJll)):xA B! * (GNN++,, -/-0. #T^^4/50 T^^ ,-1.2 )X&3'47<<rBsW0*$$*** ,@ : <z<r