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

Function giveBlockVariablesUniqueNames

src/ast/ast_generate.cpp:947–950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

945 };
946
947 void giveBlockVariablesUniqueNames ( ExpressionPtr expr ) {
948 RenameVar rename;
949 expr->visit(rename);
950 }
951
952 // rename variable
953 class RenameBlockArgument : public Visitor {

Callers 3

replaceGeneratorWhileFunction · 0.85
replaceGeneratorForFunction · 0.85

Calls 1

visitMethod · 0.45

Tested by

no test coverage detected