public ArrayProperty(String ident, TypeNode type, DeclarationList indexes, PropertySpecifiers specs, bool def) : base(ident, type, specs) { this.indexes = indexes; this.specifiers = specs; this.isDefault = def; }
public PropertyDeclaration(String ident, TypeNode type, PropertySpecifiers specs = null) : base(ident, type) { this.specifiers = specs; if (type != null) // no override { if (specs.read == null && specs.write == null) { Error("Class property must have at least a Read of Write specified"); } } }