Skip to content

Introduce constants for the different elements of the StarLasuLWLanguage #81

@ftomassetti

Description

@ftomassetti

It would permit to avoid code such as:

let transpiledNodeReference = node.references.find(reference => reference.reference.key === "com_strumenta_starlasu-ASTNode-transpiledNodes-key");

In Kolasu we would access this contant and get its key field:
https://github.com/Strumenta/kolasu/blob/ee6bab757be1389c2f31835bbecfcd128c09b50f/lionweb/src/main/kotlin/com/strumenta/kolasu/lionweb/StarLasuLWLanguage.kt#L170

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions