cclang/cc_code_preview/Preview/classes.ccl

13 lines
255 B
Plaintext
Raw Normal View History

2021-08-02 15:58:05 +02:00
public lib Preview.Classes {
public class Test {
private var _name: string;
constructor(name: string) {
2021-08-02 15:58:05 +02:00
this._name = name;
}
public func getName(): string {
2021-08-02 15:58:05 +02:00
return this._name;
}
}
}