MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / preVisitStructureAlias

Method preVisitStructureAlias

src/ast/ast_print.cpp:216–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214 }
215 }
216 virtual void preVisitStructureAlias ( Structure * var, const string & name, TypeDecl * at ) override {
217 Visitor::preVisitStructureAlias(var, name, at);
218 ss << "\ttypedef " << name << " = " << at->describe();
219 if ( gen2 ) ss << ";";
220 ss << "\n";
221 }
222
223 virtual void preVisitStructureField ( Structure * that, Structure::FieldDeclaration & decl, bool last ) override {
224 Visitor::preVisitStructureField(that, decl, last);

Callers 1

visitStructureMethod · 0.45

Calls 1

describeMethod · 0.45

Tested by

no test coverage detected