Re: Can you parse the d source file during compile time with std.regex?

2017-08-01 Thread 12345swordy via Digitalmars-d-learn
On Tuesday, 1 August 2017 at 16:20:07 UTC, Stefan Koch wrote: On Tuesday, 1 August 2017 at 16:16:46 UTC, 12345swordy wrote: I don't see this anywhere in the documentation. I am asking this as I want to know that it's possible to create a attribute to prevent certain functions being called in

Re: Can you parse the d source file during compile time with std.regex?

2017-08-01 Thread Stefan Koch via Digitalmars-d-learn
On Tuesday, 1 August 2017 at 16:16:46 UTC, 12345swordy wrote: I don't see this anywhere in the documentation. I am asking this as I want to know that it's possible to create a attribute to prevent certain functions being called in the body of a function. To enforce a certain code standard upon

Can you parse the d source file during compile time with std.regex?

2017-08-01 Thread 12345swordy via Digitalmars-d-learn
I don't see this anywhere in the documentation. I am asking this as I want to know that it's possible to create a attribute to prevent certain functions being called in the body of a function. To enforce a certain code standard upon myself.