github.com/moby/docker@v26.1.3+incompatible/contrib/syntax/textmate/Docker.tmbundle/Syntaxes/Dockerfile.tmLanguage (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     3  <plist version="1.0">
     4  <dict>
     5  	<key>fileTypes</key>
     6  	<array>
     7  		<string>Dockerfile</string>
     8  	</array>
     9  	<key>name</key>
    10  	<string>Dockerfile</string>
    11  	<key>patterns</key>
    12  	<array>
    13  		<dict>
    14  			<key>captures</key>
    15  			<dict>
    16  				<key>1</key>
    17  				<dict>
    18  					<key>name</key>
    19  					<string>keyword.other.special-method.dockerfile</string>
    20  				</dict>
    21  				<key>2</key>
    22  				<dict>
    23  					<key>name</key>
    24  					<string>keyword.other.special-method.dockerfile</string>
    25  				</dict>
    26  			</dict>
    27  			<key>match</key>
    28  			<string>^\s*\b(?i:(FROM))\b.*?\b(?i:(AS))\b</string>
    29  		</dict>
    30  		<dict>
    31  			<key>captures</key>
    32  			<dict>
    33  				<key>1</key>
    34  				<dict>
    35  					<key>name</key>
    36  					<string>keyword.control.dockerfile</string>
    37  				</dict>
    38  				<key>2</key>
    39  				<dict>
    40  					<key>name</key>
    41  					<string>keyword.other.special-method.dockerfile</string>
    42  				</dict>
    43  			</dict>
    44  			<key>match</key>
    45  			<string>^\s*(?i:(ONBUILD)\s+)?(?i:(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR))\s</string>
    46  		</dict>
    47  		<dict>
    48  			<key>captures</key>
    49  			<dict>
    50  				<key>1</key>
    51  				<dict>
    52  					<key>name</key>
    53  					<string>keyword.operator.dockerfile</string>
    54  				</dict>
    55  				<key>2</key>
    56  				<dict>
    57  					<key>name</key>
    58  					<string>keyword.other.special-method.dockerfile</string>
    59  				</dict>
    60  			</dict>
    61  			<key>match</key>
    62  			<string>^\s*(?i:(ONBUILD)\s+)?(?i:(CMD|ENTRYPOINT))\s</string>
    63  		</dict>
    64  		<dict>
    65  			<key>begin</key>
    66  			<string>"</string>
    67  			<key>beginCaptures</key>
    68  			<dict>
    69  				<key>1</key>
    70  				<dict>
    71  					<key>name</key>
    72  					<string>punctuation.definition.string.begin.dockerfile</string>
    73  				</dict>
    74  			</dict>
    75  			<key>end</key>
    76  			<string>"</string>
    77  			<key>endCaptures</key>
    78  			<dict>
    79  				<key>1</key>
    80  				<dict>
    81  					<key>name</key>
    82  					<string>punctuation.definition.string.end.dockerfile</string>
    83  				</dict>
    84  			</dict>
    85  			<key>name</key>
    86  			<string>string.quoted.double.dockerfile</string>
    87  			<key>patterns</key>
    88  			<array>
    89  				<dict>
    90  					<key>match</key>
    91  					<string>\\.</string>
    92  					<key>name</key>
    93  					<string>constant.character.escaped.dockerfile</string>
    94  				</dict>
    95  			</array>
    96  		</dict>
    97  		<dict>
    98  			<key>begin</key>
    99  			<string>'</string>
   100  			<key>beginCaptures</key>
   101  			<dict>
   102  				<key>1</key>
   103  				<dict>
   104  					<key>name</key>
   105  					<string>punctuation.definition.string.begin.dockerfile</string>
   106  				</dict>
   107  			</dict>
   108  			<key>end</key>
   109  			<string>'</string>
   110  			<key>endCaptures</key>
   111  			<dict>
   112  				<key>1</key>
   113  				<dict>
   114  					<key>name</key>
   115  					<string>punctuation.definition.string.end.dockerfile</string>
   116  				</dict>
   117  			</dict>
   118  			<key>name</key>
   119  			<string>string.quoted.single.dockerfile</string>
   120  			<key>patterns</key>
   121  			<array>
   122  				<dict>
   123  					<key>match</key>
   124  					<string>\\.</string>
   125  					<key>name</key>
   126  					<string>constant.character.escaped.dockerfile</string>
   127  				</dict>
   128  			</array>
   129  		</dict>
   130  		<dict>
   131  			<key>captures</key>
   132  			<dict>
   133  				<key>1</key>
   134  				<dict>
   135  					<key>name</key>
   136  					<string>punctuation.whitespace.comment.leading.dockerfile</string>
   137  				</dict>
   138  				<key>2</key>
   139  				<dict>
   140  					<key>name</key>
   141  					<string>comment.line.number-sign.dockerfile</string>
   142  				</dict>
   143  				<key>3</key>
   144  				<dict>
   145  					<key>name</key>
   146  					<string>punctuation.definition.comment.dockerfile</string>
   147  				</dict>
   148  			</dict>
   149  			<key>comment</key>
   150  			<string>comment.line</string>
   151  			<key>match</key>
   152  			<string>^(\s*)((#).*$\n?)</string>
   153  		</dict>
   154  	</array>
   155  	<key>scopeName</key>
   156  	<string>source.dockerfile</string>
   157  	<key>uuid</key>
   158  	<string>a39d8795-59d2-49af-aa00-fe74ee29576e</string>
   159  </dict>
   160  </plist>