BadScript 2
Loading...
Searching...
No Matches
BadPropertyInfo.cs
Go to the documentation of this file.
2
4
8public class BadPropertyInfo
9{
15 public BadPropertyInfo(BadClassPrototype type, bool isReadOnly = false)
16 {
17 Type = type;
18 IsReadOnly = isReadOnly;
19 }
20
24 public BadClassPrototype? Type { get; }
25
29 public bool IsReadOnly { get; set; }
30}
Stores Meta Information about a Property.
bool IsReadOnly
Indicates if this property is read only.
BadClassPrototype? Type
The (optional) Type used for typechecking if a value gets assigned to this property.
BadPropertyInfo(BadClassPrototype type, bool isReadOnly=false)
Creates a new Property Info.
Implements a Class Prototype for the BadScript Language.
Contains the Runtime Objects.
Definition BadArray.cs:10