Skip to content

Better variable output structure from the interactive connector's store command #2

@sonrad10

Description

@sonrad10

Currently, when running interactiveConnector.store() variables are returned in the format Map<string,Map<string,BinaryTree>> (where the outer map represents the program, and the inner maps represent the individual variables).

I propose changing this instead to the following format:

{
    name: string,  //The name of the variable
    program: string,  //The program where the variable was declared
    value: BinaryTree,  //The value of the variable (as before)
}[]

This would be simpler to use than iterating over nested maps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions