Home
last modified time | relevance | path

Searched refs:ForStatement (Results 1 – 25 of 104) sorted by relevance

12345

/third_party/skia/src/sksl/ir/
DSkSLForStatement.cpp45 std::unique_ptr<Statement> ForStatement::clone() const { in clone()
51 return std::make_unique<ForStatement>( in clone()
61 String ForStatement::description() const { in description()
80 std::unique_ptr<Statement> ForStatement::Convert(const Context& context, int line, in Convert()
136 scope.push_back(ForStatement::Make(context, line, /*initializer=*/nullptr, in Convert()
142 return ForStatement::Make(context, line, std::move(initializer), std::move(test), in Convert()
147 std::unique_ptr<Statement> ForStatement::ConvertWhile(const Context& context, int line, in ConvertWhile()
155 return ForStatement::Convert(context, line, /*initializer=*/nullptr, std::move(test), in ConvertWhile()
159 std::unique_ptr<Statement> ForStatement::Make(const Context& context, int line, in Make()
182 return std::make_unique<ForStatement>(line, std::move(initializer), std::move(test), in Make()
DSkSLForStatement.h30 class ForStatement final : public Statement {
34 ForStatement(int line, in ForStatement() function
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Dno-extra-parens.ts184 ForStatement(node) {
187 return rules.ForStatement({
193 return rules.ForStatement({
199 return rules.ForStatement({
205 return rules.ForStatement(node);
Dstrict-boolean-expressions.ts137 ForStatement: checkTestExpression,
147 | TSESTree.ForStatement
Dno-loop-func.ts95 case AST_NODE_TYPES.ForStatement:
Dno-unnecessary-condition.ts376 | TSESTree.ForStatement
628 ForStatement: checkIfLoopIsNecessaryConditional,
/third_party/flutter/skia/src/sksl/ir/
DSkSLForStatement.h20 struct ForStatement : public Statement { struct
21 ForStatement(int offset, std::unique_ptr<Statement> initializer, in ForStatement() argument
32 return std::unique_ptr<Statement>(new ForStatement(fOffset, fInitializer->clone(), in clone() argument
/third_party/typescript_eslint/packages/eslint-plugin/typings/
Deslint-rules.d.ts115 ForStatement(node: TSESTree.ForStatement): void;
191 ForStatement: RuleFunction<TSESTree.ForStatement>;
526 ForStatement(node: TSESTree.ForStatement): void;
/third_party/typescript/src/services/
Dbreakpoints.ts137 case SyntaxKind.ForStatement:
138 return spanInForStatement(<ForStatement>node);
306 case SyntaxKind.ForStatement:
483 case SyntaxKind.ForStatement:
492 …function spanInInitializerOfForLike(forLikeStatement: ForStatement | ForOfStatement | ForInStateme…
506 function spanInForStatement(forStatement: ForStatement): TextSpan | undefined {
670 case SyntaxKind.ForStatement:
/third_party/skia/src/sksl/analysis/
DSkSLCanExitWithoutReturningValue.cpp61 const ForStatement& f = stmt.as<ForStatement>(); in visitStatement()
DSkSLCheckProgramUnrolledSize.cpp114 const ForStatement& forStmt = stmt.as<ForStatement>(); in CheckProgramUnrolledSize()
/third_party/typescript/tests/baselines/reference/
DAPISample_linter.js26 case ts.SyntaxKind.ForStatement:
87 case ts.SyntaxKind.ForStatement:
DparserRealSource11.symbols5399 export class ForStatement extends Statement {
5400 >ForStatement : Symbol(ForStatement, Decl(parserRealSource11.ts, 1802, 5))
5404 >cond : Symbol(ForStatement.cond, Decl(parserRealSource11.ts, 1804, 49))
5408 >body : Symbol(ForStatement.body, Decl(parserRealSource11.ts, 1805, 25))
5412 >incr : Symbol(ForStatement.incr, Decl(parserRealSource11.ts, 1806, 25))
5416 >init : Symbol(ForStatement.init, Decl(parserRealSource11.ts, 1809, 21))
5424 >isLoop : Symbol(ForStatement.isLoop, Decl(parserRealSource11.ts, 1811, 9))
5427 >emit : Symbol(ForStatement.emit, Decl(parserRealSource11.ts, 1813, 40))
5434 >this : Symbol(ForStatement, Decl(parserRealSource11.ts, 1802, 5))
5438 >this : Symbol(ForStatement, Decl(parserRealSource11.ts, 1802, 5))
[all …]
/third_party/typescript_eslint/packages/scope-manager/src/scope/
DForScope.ts9 TSESTree.ForInStatement | TSESTree.ForOfStatement | TSESTree.ForStatement,
/third_party/skia/src/sksl/codegen/
DSkSLGLSLCodeGenerator.h26 class ForStatement; variable
158 void writeForStatement(const ForStatement& f);
DSkSLMetalCodeGenerator.h28 class ForStatement; variable
243 void writeForStatement(const ForStatement& f);
/third_party/typescript/src/compiler/transformers/
Des2015.ts169ForStatement = 1 << 11, // Enclosing block-scoped container is a ForStatement
184 …s = TopLevel | Block | IterationStatement | IterationStatementBlock | ForStatement | ForInOrForOfS…
213 ForStatementIncludes = IterationStatement | ForStatement | IterationContainer,
214 ForStatementExcludes = BlockScopeExcludes & ~ForStatement,
424 case SyntaxKind.ForStatement:
425 … return visitForStatement(<ForStatement>node, /*outermostLabeledStatement*/ undefined);
2203 …&& (hierarchyFacts & (HierarchyFacts.ForStatement | HierarchyFacts.ForInOrForOfStatement)) === 0));
2278 case SyntaxKind.ForStatement:
2279 return visitForStatement(<ForStatement>node, outermostLabeledStatement);
2302 …function visitForStatement(node: ForStatement, outermostLabeledStatement: LabeledStatement | undef…
[all …]
/third_party/typescript/tests/cases/compiler/
DAPISample_linter.ts30 case ts.SyntaxKind.ForStatement:
/third_party/skia/src/sksl/
DSkSLInliner.cpp260 if (!parentStmt || !(parentStmt->is<IfStatement>() || parentStmt->is<ForStatement>() || in ensureScopedBlocks()
506 const ForStatement& f = statement.as<ForStatement>(); in inlineStatement()
519 return ForStatement::Make(*fContext, line, std::move(initializer), expr(f.test()), in inlineStatement()
865 ForStatement& forStmt = (*stmt)->as<ForStatement>(); in visitStatement()
DSkSLAnalysis.h22 class ForStatement; variable
DSkSLAnalysis.cpp486 if (s.is<ForStatement>()) { in visitStatement()
487 const ForStatement& f = s.as<ForStatement>(); in visitStatement()
737 auto& f = s.template as<ForStatement>(); in visitStatement()
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/javascript/for/
Dfor-empty.src.js.shot40 "type": "ForStatement",
/third_party/typescript_eslint/packages/types/src/
Dast-node-types.ts31 ForStatement = 'ForStatement', enumerator
/third_party/typescript/src/services/codefixes/
DfixUnreachableCode.ts44 case SyntaxKind.ForStatement:
/third_party/typescript_eslint/packages/experimental-utils/src/ts-eslint-scope/
DReferencer.ts56 ForStatement(node: TSESTree.Node): void; method

12345