Skip to content

Instantly share code, notes, and snippets.

@Manouchehri
Created April 15, 2021 18:54
Show Gist options
  • Save Manouchehri/30494aebc27a1a88db665f8520fe4b49 to your computer and use it in GitHub Desktop.
Save Manouchehri/30494aebc27a1a88db665f8520fe4b49 to your computer and use it in GitHub Desktop.
/**
* A C/C++ preprocessor `#define` directive. For example:
* ```
* #define dave_awesome_level 1337
* ```
*/
class PreprocessorDefine extends PreprocessorDirective, @ppd_define {
override string toString() {
result = "#define " + this.getHead()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment