A value model represents the model of a Ceylon value that you can read and inspect.

A value is a toplevel binding, declared on a package.

This is a ValueModel that you can query for a value declaration's current value:

shared String foo = "Hello";

void test(){
    Value<String> val = `foo`;
    // This will print: Hello
    print(val.get());
}

no type hierarchy

no subtypes hierarchy

Attributes
declarationSource Codeshared formal ValueDeclaration declaration

This value's declaration.

Refines ValueModel.declaration ultimately refines Declared.declaration
Inherited Attributes
Attributes inherited from: Object
Attributes inherited from: Declared
Attributes inherited from: Model
Attributes inherited from: ValueModel<Get,Set>
Inherited Methods
Methods inherited from: Object
Methods inherited from: Gettable<Get,Set>