accessor method Name(): end
Definition:
accessor method returns Type Name(): end
Example:
public method returns Int GetOne(): return 1 end
accessor method Name(type name, type anotherName, type thirdName): end
public method returns Int PowerTwo(Int n): return n * n; end
Creates is special method that allocates targeted class into new object.
new
Ipsum
new Ipsum(int)
Definition
public static method creates TargetedClass Name(args): end
Example
module Lorem: public class Ipsum: public int Dolor [Constructor] public static method creates Ipsum Ctor(int dolor): self.Dolor = dolor return self end end end
There was an error while loading. Please reload this page.