Struct Element
data class StructElement(var struct: Expression, var field: String, var typeName: String? = null, var line: Int) : Assignable, IsParent
Used to define the access to a struct property
Example:
struct MyStruct{
int myNum;
char myLetter;
}
struct MyStruct s1;
s1.myNum = 5;
Content copied to clipboard
Properties
Functions
Link copied to clipboard
Is replacing a certain child of the class with another object of the same type If the two parameters don't have the same type, no block will be replaced. If the type of initial doesn't match any of the current node children, no child will be replaced
Link copied to clipboard
Sets the object as a parent for its children