Check off things already implemented
Update test case to test them
This commit is contained in:
parent
3f9375c6ed
commit
70623ecd4a
|
@ -41,6 +41,11 @@ struct structTest
|
||||||
public int k1;
|
public int k1;
|
||||||
static int k2;
|
static int k2;
|
||||||
public static int k3;
|
public static int k3;
|
||||||
|
|
||||||
|
public int g()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class Shekshi
|
class Shekshi
|
||||||
|
|
9
todo1.md
9
todo1.md
|
@ -2,14 +2,15 @@ TODO: Holidays (1-10th May)
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
- [ ] `parseStruct`
|
- [ ] `parseStruct`
|
||||||
- [ ] Actually parse body
|
- [x] Actually parse body
|
||||||
- [ ] Only allow variables declarations
|
- [x] Only allow variables declarations
|
||||||
- [ ] Allow assignments I guess
|
- [ ] Allow assignments I guess
|
||||||
- [ ] Maybe function definitions too (D-kinda thing)
|
- [x] Maybe function definitions too (D-kinda thing)
|
||||||
- [ ] Add constructor support (initializes values)
|
- [ ] Add constructor support (initializes values)
|
||||||
- [ ] I guess this is nicer when you have functions
|
- [ ] I guess this is nicer when you have functions
|
||||||
in the struct too to make initialization code more modular
|
in the struct too to make initialization code more modular
|
||||||
- [ ] Allow nested structs
|
- ~~[ ] Allow nested structs~~
|
||||||
|
* Removed, why? That would be weird?
|
||||||
- [ ] Note to self, `parseClass` and `parseStruct` should be way more specific and not just call `parseBody`
|
- [ ] Note to self, `parseClass` and `parseStruct` should be way more specific and not just call `parseBody`
|
||||||
- As currently one can then use `static` outside of these contexts
|
- As currently one can then use `static` outside of these contexts
|
||||||
- [x] `parseStruct`
|
- [x] `parseStruct`
|
||||||
|
|
Loading…
Reference in New Issue