
                         l    S r SSKrSSKJrJrJr  SSKJrJrJ	r	J
r
JrJrJrJrJr  S/r " S S\5      rg)z
pygments.lexers.carbon
~~~~~~~~~~~~~~~~~~~~~~

Lexers for the Carbon programming language.

:copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
    N)
RegexLexerbygroupswords)	TextCommentOperatorKeywordNameStringNumberPunctuation
WhitespaceCarbonLexerc                      \ rS rSrSrSrSrS/rS/rS/r	\
R                  \
R                  -  rSS	\4S
\4S\4S\R"                  4S\R$                  4S\R(                  4S\R*                  4\" SSS9\4S\R.                  4S\R0                  4S\R2                  4S\R6                  4S\R8                  4S\R:                  4S\R<                  4S\R>                  4S\ 4S\ RB                  4S\"4S\#4S\$RJ                  4/0r&S  r'S!r(g")#r      z,
For Carbon source.

.. versionadded:: 2.15
Carbonz.https://github.com/carbon-language/carbon-langz*.carboncarbonztext/x-carbonrootz\nz\s+z\\\nz	//(.*?)\nz/(\\\n)?[*].*?[*](\\\n)?/z((package|import|api|namespace|library)\bzg(abstract|alias|fn|class|interface|let|var|virtual|external|base|addr|extends|choice|constraint|impl)\b)asornotandbreakcontinuecasedefaultifelse
destructorforforallwhilewheretheninisreturnreturnedfriendpartialprivate	protectedobserveSelfoverridefinalmatchtypelikez\b)suffixz(self)\bz(true|false)\bzA(auto|bool|string|i8|i16|i32|i64|u8|u16|u32|u64|f8|f16|f32|f64)\bz[0-9]*[.][0-9]+z0b[01]+z0o[0-7]+z0x[0-9a-fA-F]+z[0-9]+z"(\\.|[^"\\])*"z\'(\\.|[^\'\\])\'zm<<=|>>=|<<|>>|<=|>=|\+=|-=|\*=|/=|\%=|\|=|&=|\^=|&&|\|\||&|\||\+\+|--|\%|\^|\~|==|!=|::|[.]{3}|->|=>|[+\-*/&]z[|<>=!()\[\]{}.,;:\?]z
[^\W\d]\w*c                     SnSU ;   a  US-  nSU ;   a  US-  nSU ;   a  US-  nSU ;   a  US-  nSU ;   a  US-  nSU ;   a  US-  nS	U ;   a  US-  nS
U ;   a  US-  nSU ;   a  US-  nSU ;   a  US-  nU$ )Nr   r!   g?r2   r.   r-   packagelibrarychoiceaddr
constraintimpl )textresults     )lib/third_party/pygments/lexers/carbon.pyanalyse_textCarbonLexer.analyse_textJ   s    tcMFT>cMFT>cMFcMFcMFcMFtcMFT>cMF4cMFT>cMF    r<   N))__name__
__module____qualname____firstlineno____doc__nameurl	filenamesaliases	mimetypesre	MULTILINEDOTALLflagsr   r   r   Single	Multiliner	   	NamespaceDeclarationr   PseudoConstantTyper   DoubleBinOctHexIntegerr   Charr   r   r
   Othertokensr@   __static_attributes__r<   rB   r?   r   r      sm   
 D
:CIjG !ILL299$E 	JZ dO7>>*)7+<+<=8':K:KL<=D=P=PR  B KP	Q SZ	[
 '..) 0 01"#*<<1  /$&**%

+'(!6;;/@AIK%{3DJJ'I%
'FRrB   )rG   rM   pygments.lexerr   r   r   pygments.tokenr   r   r   r	   r
   r   r   r   r   __all__r   r<   rB   r?   <module>rd      s;    
 6 6$ $ $ /M* MrB   