<Comment># comment with </Comment><Alert Level 1>ALERT</Alert Level 1><br/>
<Normal Text></Normal Text><br/>
<Import>load</Import><Normal Text>(</Normal Text><String Deliminator>"</String Deliminator><String>//:rules.bzl</String><String Deliminator>"</String Deliminator><Normal Text>, </Normal Text><String Deliminator>"</String Deliminator><String>my_rule</String><String Deliminator>"</String Deliminator><Normal Text>)</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Comment>''' multiline</Comment><br/>
<Comment>    comment</Comment><br/>
<Comment>    </Comment><Alert Level 3>###</Alert Level 3><br/>
<Comment>    '''</Comment><br/>
<Normal Text></Normal Text><br/>
<Operator>//</Operator><Normal Text> alert check, no word delimiter check at start of word, bug </Normal Text><Int>397719</Int><br/>
<Comment>#</Comment><Alert Level 2>TODO</Alert Level 2><br/>
<Normal Text></Normal Text><br/>
<Normal Text>a </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Int>100_000</Int><br/>
<Normal Text>b </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Float>856_264.65</Float><br/>
<Normal Text>c </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Hex>0x420_F52</Hex><br/>
<Normal Text></Normal Text><br/>
<Definition Keyword>def</Definition Keyword><Normal Text> func(x):</Normal Text><br/>
<Normal Text>    </Normal Text><Comment>""" EXTENDED API docs """</Comment><br/>
<Normal Text>    </Normal Text><Flow Control Keyword>if</Flow Control Keyword><Normal Text> x </Normal Text><Operator>==</Operator><Normal Text> </Normal Text><Int>42</Int><Normal Text>:</Normal Text><br/>
<Normal Text>        my_rule()</Normal Text><br/>
<Normal Text>        c1 </Normal Text><Operator>=</Operator><Normal Text> {}</Normal Text><br/>
<Normal Text>        c2 </Normal Text><Operator>=</Operator><Normal Text> {</Normal Text><br/>
<Normal Text>            </Normal Text><Float>2.4</Float><Normal Text>: </Normal Text><String Deliminator>"</String Deliminator><String>a</String><String Deliminator>"</String Deliminator><Normal Text>,</Normal Text><br/>
<Normal Text>            </Normal Text><Hex>0x42</Hex><Normal Text>: </Normal Text><Special Variable>True</Special Variable><Normal Text>,</Normal Text><br/>
<Normal Text>            }</Normal Text><br/>
<Normal Text>        a1 </Normal Text><Operator>=</Operator><Normal Text> []</Normal Text><br/>
<Normal Text>        a2 </Normal Text><Operator>=</Operator><Normal Text> [</Normal Text><br/>
<Normal Text>            </Normal Text><String Deliminator>"</String Deliminator><String>a</String><String Deliminator>"</String Deliminator><Normal Text>, </Normal Text><Int>0</Int><Error>32</Error><Normal Text>, (</Normal Text><br/>
<Normal Text>                )]</Normal Text><br/>
<Normal Text>    </Normal Text><Flow Control Keyword>else</Flow Control Keyword><Normal Text>:</Normal Text><br/>
<Normal Text>        </Normal Text><Builtin Function>print</Builtin Function><Normal Text>(</Normal Text><String Deliminator>"""</String Deliminator><String>multi</String><br/>
<String>            line</String><br/>
<String>            string</String><String Deliminator>"""</String Deliminator><Normal Text>)</Normal Text><br/>
<Normal Text>        </Normal Text><Builtin Function>print</Builtin Function><Normal Text>(</Normal Text><String Deliminator>"</String Deliminator><String>single </String><Operator>\</Operator><br/>
<String>                continued line </String><String Deliminator>"</String Deliminator><Normal Text>)</Normal Text><br/>
<Normal Text>        </Normal Text><Builtin Function>print</Builtin Function><Normal Text>(</Normal Text><String Deliminator>'</String Deliminator><String>single line</String><String Deliminator>'</String Deliminator><Normal Text>)</Normal Text><br/>
<Normal Text>    </Normal Text><Flow Control Keyword>return</Flow Control Keyword><Normal Text> </Normal Text><Builtin Function>float</Builtin Function><Normal Text>(</Normal Text><Builtin Function>len</Builtin Function><Normal Text>(a2))</Normal Text><br/>
<Normal Text></Normal Text><br/>
<Normal Text>my_string </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><String Deliminator>"</String Deliminator><String>Hello </String><String Substitution>{name}</String Substitution><String>, you are </String><String Substitution>{age}</String Substitution><String> years old</String><String Deliminator>"</String Deliminator><Normal Text>.format(name, age)</Normal Text><br/>
<Normal Text>my_bytes </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><B-String Deliminator>b"</B-String Deliminator><B-String>Hello {regular_text_color}</B-String><B-String Deliminator>"</B-String Deliminator><br/>
<Normal Text></Normal Text><br/>
<Normal Text>a </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><String Deliminator>"</String Deliminator><String>Escapes in String </String><String Char>\U12345678</String Char><String> </String><String Char>\xAB</String Char><String> </String><String Char>\"</String Char><String Deliminator>"</String Deliminator><br/>
<Normal Text>b </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><String Deliminator>'''</String Deliminator><String Char>\'</String Char><String>''</String><br/>
<String Deliminator>'''</String Deliminator><br/>
<Normal Text>c </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><String Deliminator>'''</String Deliminator><String Char>\'</String Char><String Deliminator>'''</String Deliminator><br/>
<Normal Text>d </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><B-String Deliminator>b'</B-String Deliminator><String Char>\u1234</String Char><B-String>a</B-String><String Char>\xff</String Char><B-String>é</B-String><String Char>\12</String Char><B-String>k</B-String><String Char>\n</String Char><Error>\</Error><B-String>g</B-String><Operator>\</Operator><br/>
<B-String>s</B-String><Operator>\</Operator><br/>
<String Char>\"</String Char><Error>\</Error><B-String> </B-String><B-String Deliminator>'</B-String Deliminator><br/>
<Normal Text>e </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Raw B-String Deliminator>rb'</Raw B-String Deliminator><Raw B-String>\u1234aé\n\g\</Raw B-String><br/>
<Raw B-String Deliminator>'</Raw B-String Deliminator><br/>
<Normal Text>e2 </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Raw String Deliminator>r'</Raw String Deliminator><Raw String>\u1234aé\n\g\</Raw String><br/>
<Raw String Deliminator>'</Raw String Deliminator><br/>
<Normal Text>f </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><B-String Deliminator>b"""</B-String Deliminator><B-String> é </B-String><B-String Deliminator>"""</B-String Deliminator><br/>
<Normal Text>g </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><B-String Deliminator>b"""</B-String Deliminator><String Char>\"</String Char><B-String Deliminator>"""</B-String Deliminator><br/>
<Normal Text>h </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><String Deliminator>'</String Deliminator><String>a</String><String Deliminator>'</String Deliminator><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Operator>\</Operator><br/>
<Normal Text>    </Normal Text><String Deliminator>'</String Deliminator><String Char>\x12</String Char><String Deliminator>'</String Deliminator><br/>
<Normal Text>i </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><B-String Deliminator>b"</B-String Deliminator><B-String>t</B-String><Error>\</Error><B-String>e's</B-String><String Char>\t</String Char><B-String Deliminator>"</B-String Deliminator><br/>
<Normal Text>j </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Raw B-String Deliminator>rb"</Raw B-String Deliminator><Raw B-String>t\e's\t</Raw B-String><Raw B-String Deliminator>"</Raw B-String Deliminator><br/>
<Normal Text>k </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Raw String Deliminator>r"</Raw String Deliminator><Raw String>\\</Raw String><Raw String Deliminator>"</Raw String Deliminator><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Operator>\</Operator><br/>
<Raw B-String Deliminator>rb'</Raw B-String Deliminator><Raw B-String>\\</Raw B-String><Raw B-String Deliminator>'</Raw B-String Deliminator><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Operator>\</Operator><br/>
<Raw String Deliminator>r"""</Raw String Deliminator><Raw String>\\</Raw String><Raw String Deliminator>"""</Raw String Deliminator><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Operator>\</Operator><br/>
<Raw String Deliminator>r'''</Raw String Deliminator><Raw String>\\</Raw String><Raw String Deliminator>'''</Raw String Deliminator><br/>
<Normal Text></Normal Text><br/>
<Comment>"Escapes in Doc/Comment String </Comment><String Char>\u1234</String Char><Comment> </Comment><String Char>\xAb</String Char><Comment> </Comment><String Char>\"\\</String Char><Comment>"</Comment><br/>
<Comment>''' Doc/Comment String </Comment><Error>\</Error><Comment>N{123} </Comment><String Char>\'</String Char><Comment>'''</Comment><br/>
<Comment>""" Doc/Comment String </Comment><String Char>\17</String Char><Comment> </Comment><String Char>\x1f</String Char><Comment> </Comment><String Char>\n</String Char><Comment> </Comment><String Char>\"</String Char><Comment> </Comment><String Char>\\</String Char><Comment>"""</Comment><br/>
<Normal Text></Normal Text><br/>
<Comment># Decimal, Hex, Binary, Octal</Comment><br/>
<Normal Text>a </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Int>1_2_34L</Int><br/>
<Normal Text>b </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Int>0_0_00_0</Int><br/>
<Normal Text>c </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Hex>0xA_3f_43D</Hex><br/>
<Normal Text>d </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Binary>0b0_0_1_01</Binary><br/>
<Normal Text>e </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Octal>0o71_2_34</Octal><br/>
<Comment># Float</Comment><br/>
<Normal Text>d </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Float>1.1E+3</Float><br/>
<Normal Text>e </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Float>1.E+3</Float><br/>
<Normal Text>f </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Float>.1E+3</Float><br/>
<Normal Text>g </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Float>1E+3</Float><br/>
<Normal Text>h </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Float>1.1</Float><br/>
<Normal Text>i </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Float>1.</Float><br/>
<Normal Text>j </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Float>.1</Float><br/>
<Normal Text>k </Normal Text><Operator>=</Operator><Normal Text>  </Normal Text><Int>1</Int><br/>
<Normal Text>l </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Float>1_0.e+3_22</Float><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Float>.2_1e2</Float><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Float>11_1.</Float><br/>
<Comment># Complex</Comment><br/>
<Normal Text>m </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Complex>1.1E+3j</Complex><br/>
<Normal Text>n </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Complex>1.E+3j</Complex><br/>
<Normal Text>o </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Complex>.1E+3j</Complex><br/>
<Normal Text>p </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Complex>1E+3j</Complex><br/>
<Normal Text>q </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Complex>1.1j</Complex><br/>
<Normal Text>r </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Complex>1.j</Complex><br/>
<Normal Text>s </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Complex>.1j</Complex><br/>
<Normal Text>t </Normal Text><Operator>=</Operator><Normal Text>  </Normal Text><Complex>1j</Complex><br/>
<Normal Text>u </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><Complex>1_0.e+3_22j</Complex><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Complex>.2_1e2j</Complex><Normal Text> </Normal Text><Operator>+</Operator><Normal Text> </Normal Text><Complex>11_1.j</Complex><br/>
<Normal Text></Normal Text><br/>
<Comment># Invalid numbers</Comment><br/>
<Normal Text>aaa.</Normal Text><Error>123</Error><br/>
<Normal Text>aaa123</Normal Text><br/>
<Float>.0</Float><Error>x123</Error><br/>
<Normal Text></Normal Text><br/>
<Comment># reserved keywords</Comment><br/>
<Reserved>as</Reserved><br/>
<Reserved>assert</Reserved><br/>
<Reserved>async</Reserved><br/>
<Reserved>await</Reserved><br/>
<Reserved>class</Reserved><br/>
<Reserved>del</Reserved><br/>
<Reserved>except</Reserved><br/>
<Reserved>finally</Reserved><br/>
<Reserved>from</Reserved><br/>
<Reserved>global</Reserved><br/>
<Reserved>import</Reserved><br/>
<Reserved>is</Reserved><br/>
<Reserved>nonlocal</Reserved><br/>
<Reserved>raise</Reserved><br/>
<Reserved>try</Reserved><br/>
<Reserved>while</Reserved><br/>
<Reserved>with</Reserved><br/>
<Reserved>yield</Reserved><br/>
<Normal Text></Normal Text><br/>
<Comment>"</Comment><String Char>\\\\\\\\\\</String Char><Comment>ENSURE THAT THIS AND THE FOLLOWING LINES ARE AT THE </Comment><Region Marker>END</Region Marker><Comment> OF THE FILE</Comment><String Char>\\\\\\\\\\</String Char><Comment> </Comment><Operator>\</Operator><br/>
<Comment>"</Comment><br/>
<Normal Text>a </Normal Text><Operator>=</Operator><Normal Text> </Normal Text><String Deliminator>'</String Deliminator><String>otherwise the next line will be</String><br/>
<Error>stuck on the Error attribute'</Error><br/>
<Raw B-String Deliminator>br"</Raw B-String Deliminator><Raw B-String>Strings delimited by single quotes (' or </Raw B-String><Raw B-String Deliminator>"</Raw B-String Deliminator><Normal Text>)</Normal Text><br/>
<Normal Text>can NOT be defined across multiple lines</Normal Text><br/>
<Normal Text>unless escaped </Normal Text><Reserved>with</Reserved><Normal Text> </Normal Text><Operator>\</Operator><br/>
<String Deliminator>"</String Deliminator><br/>
