Skip to content

No recognition of JS/TS private identifiers #2671

@isc-aray

Description

@isc-aray

Pygments does not recognize JS/TS private identifiers (which start with a pound sign, e.g. #page).

Minimal example:

class test {
    #testprop: string
}

Expect no highlighting for bad syntax, but the # symbol is highlighted as a syntax error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lexingarea: changes to individual lexers

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy