HUCTLp / com.github.sybila.huctl / Expression / Variable

Variable

data class Variable : Expression

A variable name. If there is an existing alias with this name, it will be substituted. Otherwise is considered to be a model variable.

Constructors

<init> Variable(name: String)

A variable name. If there is an existing alias with this name, it will be substituted. Otherwise is considered to be a model variable.

Properties

name val name: String

The name of the variable whose value should be substituted at this position.

Inherited Properties

node open val node: Expression

Expression is also the node in the tree, so node == this

Functions

toString fun toString(): String

Return string which uniquely represents this expression and can be parsed to create an equivalent object.