Home
last modified time | relevance | path

Searched refs:returnStmt (Results 1 – 8 of 8) sorted by relevance

/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dno-confusing-void-expression.ts159 const returnStmt = invalidAncestor; constant
161 if (isFinalReturn(returnStmt)) {
167 const returnValue = returnStmt.argument!;
174 return fixer.replaceText(returnStmt, newReturnStmtText);
184 const returnValue = returnStmt.argument!;
191 if (returnStmt.parent?.type !== AST_NODE_TYPES.BlockStatement) {
196 return fixer.replaceText(returnStmt, newReturnStmtText);
/third_party/skia/src/sksl/ir/
DSkSLFunctionDefinition.cpp174 ReturnStatement& returnStmt = stmt.as<ReturnStatement>(); in Convert() local
175 if (returnStmt.expression()) { in Convert()
178 returnStmt.setExpression(fFunction.returnType().coerceExpression( in Convert()
179 std::move(returnStmt.expression()), fContext)); in Convert()
182 returnStmt.setExpression(nullptr); in Convert()
183 fContext.fErrors->error(returnStmt.fLine, in Convert()
189 fContext.fErrors->error(returnStmt.fLine, in Convert()
/third_party/skia/src/sksl/
DSkSLInliner.cpp899 ReturnStatement& returnStmt = (*stmt)->as<ReturnStatement>(); in visitStatement() local
900 this->visitExpression(&returnStmt.expression()); in visitStatement()
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource11.ts371 context.returnStmt();
1672 context.returnStmt();
/third_party/typescript/tests/baselines/reference/
DparserRealSource11.js372 context.returnStmt();
1673 context.returnStmt();
2739 context.returnStmt();
3989 context.returnStmt();
DparserRealSource11.types1480 context.returnStmt();
1481 >context.returnStmt() : any
1482 >context.returnStmt : any
1484 >returnStmt : any
7628 context.returnStmt();
7629 >context.returnStmt() : any
7630 >context.returnStmt : any
7632 >returnStmt : any
DparserRealSource11.errors.txt1017 context.returnStmt();
2978 context.returnStmt();
DparserRealSource11.symbols992 context.returnStmt();
4931 context.returnStmt();