November 13, 2013 General » 2.064.2 - ddoc now includes types with parameter identifiers | |||
|---|---|---|---|
| |||
...to be controlled by a macro? The current parameter identifier macro is this: DDOC_PARAM... | |||
November 13, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...which woulds be also very nice as an macro feature for in D reference traversing | |||
November 13, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...is true, though, is everything an AST macro can do, can already be done with... | |||
November 13, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...anyway. The DIP even says that the macro functions are removed in the code generating... | |||
November 13, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
What about something like this?
class Person {
macro where (Context context, Statement statement) {
// ...
}
}
auto foo... | |||
November 13, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...templates you can write a macro for that. For example: macro myAssert (Context context, Ast... | |||
November 13, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...checking an other stuff 3. Library code (macro) manipulates the AST 4. Compiler inserts the... | |||
November 13, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...to different features have the same word "macro", you shouldn't put the in the... | |||
November 13, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...also if's like templates have for macro over loading but nobody was keen for... | |||
November 13, 2013 General » Re: DIP 50 - AST macros | |||
|---|---|---|---|
| |||
...macro that transforms it by a single line in the file ( not importing the macro... | |||
Copyright © 1999-2021 by the D Language Foundation