Skip to main content

Module items

Module items 

Source
Expand description

Item parsing for Shape

This module handles parsing of:

  • Variable declarations (let, var, const)
  • Destructuring patterns (identifiers, arrays, objects, rest)

Functionsยง

parse_pattern
Parse a pattern for destructuring
parse_variable_decl
Parse a variable declaration