Skip to content

Navigation Menu

Sign in
Sign up

Preserve more information for CONST values #98

Open
Labels
devtoolsany tool that helps during development enhancementNew feature or request

Description

The AST for operations includes only the reference for a certain value:

{
 "name": {
 "type": "UPDATE",
 "path": [{ type: "CONST", value: foo}, { type: "CONST", value: "bar"]
 }
}

When using variables the name is not preserved and cannot be used later when in debug mode for example:
Update<[foo].bar>

as such the ast should change:

type: "CONST", value: { type: "VARIABLE", name: "foo", ref: foo }
type: "CONST", value: { type: "STRING", value: "foo" }

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    devtoolsany tool that helps during development enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      AltStyle によって変換されたページ (->オリジナル) /