Skip to content

Punct Ident Prefix #45

@FreeMasen

Description

@FreeMasen

The primary method for handling # and @ is to support them as single character puncts and force the caller to deal with the repercussions (what we do currently).

It may make more sense to treat these as extentions to ident_start similar to the inclusion of _ and $. The plus side here is that the caller would have less to do after tokenization, the negative is that we would be pretty tied to the proposal as it is today and if it were to change then we would have much more work to remove the code.

One possibility would be to also extend the Ident struct to have is_decorator and is_private methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is neededmake good first issueCould be a good first issue if more details were provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions