2018-04-17 15:16:08 -04:00
|
|
|
[[painless-keywords]]
|
|
|
|
=== Keywords
|
|
|
|
|
Painless: Restructure/Clean Up of Spec Documentation (#31013)
Full restructure of the spec into new sections for operators, statements, scripts, functions, lambdas, and regexes. Split of operators into 6 sections, a table, reference, array, numeric, boolean, and general. Clean up of all operators sections. Sporadic clean up else where.
2018-06-07 20:11:56 -04:00
|
|
|
Keywords are reserved tokens for built-in language features.
|
|
|
|
|
|
|
|
*Errors*
|
|
|
|
|
2018-08-09 17:24:55 -04:00
|
|
|
* If a keyword is used as an <<painless-identifiers, identifier>>.
|
Painless: Restructure/Clean Up of Spec Documentation (#31013)
Full restructure of the spec into new sections for operators, statements, scripts, functions, lambdas, and regexes. Split of operators into 6 sections, a table, reference, array, numeric, boolean, and general. Clean up of all operators sections. Sporadic clean up else where.
2018-06-07 20:11:56 -04:00
|
|
|
|
|
|
|
*Keywords*
|
2018-04-17 15:16:08 -04:00
|
|
|
|
|
|
|
[cols="^1,^1,^1,^1,^1"]
|
|
|
|
|====
|
|
|
|
| if | else | while | do | for
|
|
|
|
| in | continue | break | return | new
|
|
|
|
| try | catch | throw | this | instanceof
|
|
|
|
|====
|