Inhaltsverzeichnis

Type

Eim Type-Scope definiert einen Scope, der keinen Code enthalten darf, jedoch Variablen- und Code-Definiionen. Er findet Verwendung bei Klassen.

Beispiele

Klasse

class MyClass
{ // Type-Scope
  int 
  { // Variable-Scope
    a, b
    { // Type-Scope für Variable "b"
      int content;
 
      get: 
      { // FunctionScope;
        return content;
      }
      set: 
      { // FunctionScope;
        content = value;
      }
    }
  };
 
  code func :=
  { //Function-Scope
  }
}: