Skip to content

Add support for optional chaining "?." #134

@mjambon

Description

@mjambon

The feature is already being widely used in typescript, in about 10% of the files according to my rough stats. See the related ticket in the tree-sitter-typescript repo: tree-sitter/tree-sitter-typescript#80

I'm thinking of adding the feature to the javascript grammar rather than only adding it to the typescript grammar. Let me know if there's something wrong with the approach. I'll use this reference document: https://tc39.es/ecma262/#sec-optional-chains

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions