Skip to content

Implement JS-style variable destructuring. #7

@NotJustAnna

Description

@NotJustAnna

Implement JS-style variable destructuring in Lin.

Destructuring will only be allowed at variable declarations.

com.github.adriantodt.lin.parser.parselets.misc.DeclareVariableParser#parse(DeclareVariableParser:18):
image

The old Lin implementation implements Kotlin-style destructuring. It's probably worth taking a look too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TODOThere's a TODO in code marking it.component:parserThis issue is related to the Parser, Grammar and/or Parselets.enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions