[−][src]Module rslint_parser::syntax::stmt
Statements, these include if
, while
, for
, ;
, and more.
See the ECMAScript spec.
Constants
FOLLOWS_LET | |
STMT_RECOVERY_SET |
Functions
block_stmt | A block statement consisting of statements wrapped in curly brackets. |
break_stmt | A break statement with an optional label such as |
condition | An expression wrapped in parentheses such as `() |
continue_stmt | A continue statement with an optional label such as |
debugger_stmt | A debugger statement such as |
do_stmt | |
empty_stmt | An empty statement denoted by a single semicolon. |
for_stmt | Either a traditional for statement or a for.. in statement |
if_stmt | An if statement such as |
return_stmt | A return statement with an optional value such as |
semi | Consume an explicit semicolon, or try to automatically insert one, or add an error to the parser if there was none and it could not be inserted |
stmt | A generic statement such as a block, if, while, with, etc |
switch_stmt | A switch statement such as |
throw_stmt | A throw statement such as |
try_stmt | A try statement such as |
var_decl | A var, const, or let declaration such as |
while_stmt | A while statement such as |
with_stmt | A with statement such as |