mirror of
https://github.com/mappu/miqt.git
synced 2025-04-27 23:50:22 +00:00
22 lines
448 B
Go
22 lines
448 B
Go
package main
|
|
|
|
// astTransformApplyQuirks applies quirk flags to the class/method.
|
|
func astTransformApplyQuirks(packageName string, parsed *CppParsedHeader) {
|
|
|
|
for i, c := range parsed.Classes {
|
|
|
|
// Constructors
|
|
|
|
for j, _ := range c.Ctors {
|
|
ApplyQuirks(packageName, c.ClassName, &parsed.Classes[i].Ctors[j])
|
|
}
|
|
|
|
// Methods
|
|
|
|
for j, _ := range c.Methods {
|
|
ApplyQuirks(packageName, c.ClassName, &parsed.Classes[i].Methods[j])
|
|
}
|
|
|
|
}
|
|
}
|