| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
|
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
<snippets language="Nasal"> |
| 31 |
<snippet id="else"> |
| 32 |
<text><![CDATA[else { |
| 33 |
${0:# body...} |
| 34 |
}]]></text> |
| 35 |
<description>else statement</description> |
| 36 |
<tag>else</tag> |
| 37 |
</snippet> |
| 38 |
<snippet id="elsif"> |
| 39 |
<text><![CDATA[elsif (${0:condition}) { |
| 40 |
${0:# body...} |
| 41 |
}]]></text> |
| 42 |
<description>conditional elsif statement</description> |
| 43 |
<tag>elsif</tag> |
| 44 |
</snippet> |
| 45 |
<snippet id="}"> |
| 46 |
<text><![CDATA[} elsif (${1:variable} == ${2:constant}) { |
| 47 |
${0:# body...} |
| 48 |
}]]></text> |
| 49 |
<description>equality elsif statement</description> |
| 50 |
<tag>}</tag> |
| 51 |
</snippet> |
| 52 |
<snippet id="if"> |
| 53 |
<text><![CDATA[if (${0:condition}) { |
| 54 |
${0:# body...} |
| 55 |
}]]></text> |
| 56 |
<description>conditional if statement</description> |
| 57 |
<tag>if</tag> |
| 58 |
</snippet> |
| 59 |
<snippet id="="> |
| 60 |
<text><![CDATA[if (${1:variable} == ${2:constant}) { |
| 61 |
${0:# body...} |
| 62 |
}]]></text> |
| 63 |
<description>equality if statement</description> |
| 64 |
<tag>=</tag> |
| 65 |
</snippet> |
| 66 |
<snippet id="typeif"> |
| 67 |
<text><![CDATA[if (typeof(${1:variable}) == "${2:type}") { |
| 68 |
${0:# body...} |
| 69 |
}]]></text> |
| 70 |
<description>typeof if statement</description> |
| 71 |
<tag>typeif</tag> |
| 72 |
</snippet> |
| 73 |
</snippets> |