# NewStatement

## `NewStatement`

A NewStatement creates an instance of a class and binds a name to it.

syntax: `new:typedModel name : type := expression;`

If expression is omitted, a new instance if the tyope is created. If expression is provided, it computes the ‘new’ object, typically a singlton supervisor fpr a QVTr key.

conformsTo `VariableStatement` , `ObservableStatement`

Associations

`ownedExpression : OCLExpression[?]`

Optional expression that constructs the new object.

`referredTypedModel : ::ImperativeTypedModel[1]`

The TypedModel to which the new object is added.