Parsing Expressions 6
This commit is contained in:
parent
2de4381fae
commit
d937226553
5 changed files with 177 additions and 6 deletions
8
src/jlox/util.d
Normal file
8
src/jlox/util.d
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
module jlox.util;
|
||||
|
||||
template defaultCtor(){
|
||||
this(Args...)(auto ref Args args){
|
||||
static foreach(i, a; args)
|
||||
this.tupleof[i] = a;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue