Skip to content

Language meta-variables #2

@masp

Description

@masp

Treesitter's query patterns are precise, but they can be overly verbose. It would be valuable to support syntax like:

`interface{}` { @ = "any" }

which would match a type node that looks like interface{}. There is a lot of ambiguity in how interface{} would end up being parsed, and so disambiguation is the crux of success.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions