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

Function args

include/daScript/ast/ast.h:1039–1047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1037 return this;
1038 }
1039 FunctionPtr args ( std::initializer_list<const char *> argList ) {
1040 if ( argList.size()==0 ) return this;
1041 DAS_VERIFYF(argList.size() == arguments.size(), "during a processing of the '%s' function\n", cppName.c_str());
1042 int argIndex = 0;
1043 for ( const char * arg : argList ) {
1044 arguments[argIndex++]->name = arg;
1045 }
1046 return this;
1047 }
1048 virtual void * getBuiltinAddress() const { return nullptr; }
1049 public:
1050 void construct (const vector<TypeDeclPtr> & args );

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected