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

Function sequenceToTuple

src/parser/parser_impl.cpp:79–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 Expression * sequenceToTuple ( Expression * arguments ) {
80 if ( arguments->rtti_isSequence() ) {
81 auto tup = new ExprMakeTuple(arguments->at);
82 tup->values = sequenceToList(arguments);
83 return tup;
84 } else {
85 return arguments;
86 }
87 }
88
89 ExprLooksLikeCall * parseFunctionArguments ( ExprLooksLikeCall * pCall, Expression * arguments ) {
90 if ( arguments ) {

Callers 2

yyparseFunction · 0.85
yyparseFunction · 0.85

Calls 1

sequenceToListFunction · 0.85

Tested by

no test coverage detected