Identifier

@Serializable
data class Identifier(val name: String, val type: String = "Identifier")(source)

Represents an identifier (name) in Fluent.

Identifiers are used for message IDs, term IDs, attribute names, and variable names.

The type field is always "Identifier" and is serialized to match the upstream fluent-rs fixture shape ({"type": "Identifier", "name": "..."}).

Constructors

Link copied to clipboard
constructor(name: String, type: String = "Identifier")

Properties

Link copied to clipboard

The identifier name string

Link copied to clipboard