/**
* Specifies whether this symbol is experimental.
*/
- public bool experimental { get; set; default = false; }
+ public bool experimental {
+ get {
+ if (_experimental == null) {
+ _experimental = get_attribute ("Experimental") != null;
+ }
+ return _experimental;
+ }
+ set {
+ _experimental = value;
+ set_attribute ("Experimental", value);
+ }
+ }
/**
* Specifies whether this symbol has been accessed.
private Scope _scope;
private string? _gir_name = null;
private bool? _deprecated;
+ private bool? _experimental;
public Symbol (string? name, SourceReference? source_reference, Comment? comment = null) {
this.name = name;
if (attr.name != "Experimental") {
return;
}
-
- experimental = true;
}
/**