Skip to content

Allow inlining of members into the specified member #49

Description

@samvv

Example:

pub expr
  = label_expr
  | ref_expr

pub ref_expr
  = name

pub label_expr
  = label:name ':' @ast_inline expr

In this example, expr is decorated with the name ast_inline.

This hypothetical example would cause ref_expr to contain a field label, while label_expr will not be present in the resulting AST.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

💎 enhancementNew feature or request🔥 priority:normalThis issue should be solved whenever the opportunity arises

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions