Expand description
General utility functions for parsing and error checking.
Functions§
- check_
assign_ target - check_
for_ stmt_ declarators - Check if the var declaration in a for statement has multiple declarators, which is invalid
- check_
for_ stmt_ lhs - Check the LHS expression inside of a for…in or for…of statement according to
- check_
label_ use - Check if the use of a statement label is valid and the label is defined.
- check_
lhs - check_
simple_ assign_ target - Check if assignment to an expression is invalid and report an error if so.
- check_
var_ decl_ bound_ names - Check the bound names of a variable declaration and issue errors according to
13.3.1.1
- get_
precedence - Get the precedence of a token
- is_
update_ expr