/third_party/skia/third_party/externals/tint/src/ast/ |
D | switch_statement.cc | 19 TINT_INSTANTIATE_TYPEINFO(tint::ast::SwitchStatement); 24 SwitchStatement::SwitchStatement(ProgramID pid, in SwitchStatement() function in tint::ast::SwitchStatement 37 SwitchStatement::SwitchStatement(SwitchStatement&&) = default; 39 SwitchStatement::~SwitchStatement() = default; 41 const SwitchStatement* SwitchStatement::Clone(CloneContext* ctx) const { in Clone() 46 return ctx->dst->create<SwitchStatement>(src, cond, b); in Clone()
|
D | switch_statement.h | 25 class SwitchStatement : public Castable<SwitchStatement, Statement> { 32 SwitchStatement(ProgramID pid, 37 SwitchStatement(SwitchStatement&&); 38 ~SwitchStatement() override; 47 const SwitchStatement* Clone(CloneContext* ctx) const override; 54 SwitchStatement(const SwitchStatement&) = delete;
|
D | switch_statement_test.cc | 35 auto* stmt = create<SwitchStatement>(ident, body); in TEST_F() 44 auto* stmt = create<SwitchStatement>(Source{Source::Location{20, 2}}, ident, in TEST_F() 59 auto* stmt = create<SwitchStatement>(ident, body); in TEST_F() 60 EXPECT_TRUE(stmt->Is<SwitchStatement>()); in TEST_F() 70 b.create<SwitchStatement>(nullptr, cases); in TEST_F() 79 b.create<SwitchStatement>(b.Expr(true), CaseStatementList{nullptr}); in TEST_F() 89 b1.create<SwitchStatement>(b2.Expr(true), CaseStatementList{ in TEST_F() 105 b1.create<SwitchStatement>(b1.Expr(true), CaseStatementList{ in TEST_F()
|
D | statement.cc | 77 if (Is<SwitchStatement>()) { in Name()
|
/third_party/skia/third_party/externals/tint/src/sem/ |
D | switch_statement.cc | 20 TINT_INSTANTIATE_TYPEINFO(tint::sem::SwitchStatement); 25 SwitchStatement::SwitchStatement(const ast::SwitchStatement* declaration, in SwitchStatement() function in tint::sem::SwitchStatement 33 SwitchStatement::~SwitchStatement() = default; 35 const ast::SwitchStatement* SwitchStatement::Declaration() const { in Declaration() 36 return static_cast<const ast::SwitchStatement*>(Base::Declaration()); in Declaration()
|
D | switch_statement.h | 24 class SwitchStatement; variable 32 class SwitchStatement : public Castable<SwitchStatement, CompoundStatement> { 38 SwitchStatement(const ast::SwitchStatement* declaration, 43 ~SwitchStatement() override; 46 const ast::SwitchStatement* Declaration() const;
|
/third_party/skia/src/sksl/ir/ |
D | SkSLSwitchStatement.cpp | 24 std::unique_ptr<Statement> SwitchStatement::clone() const { in clone() 30 return std::make_unique<SwitchStatement>(fLine, in clone() 37 String SwitchStatement::description() const { in description() 112 std::unique_ptr<Statement> SwitchStatement::BlockForCase(StatementArray* cases, in BlockForCase() 167 std::unique_ptr<Statement> SwitchStatement::Convert(const Context& context, in Convert() 223 return SwitchStatement::Make(context, line, isStatic, std::move(value), std::move(cases), in Convert() 227 std::unique_ptr<Statement> SwitchStatement::Make(const Context& context, in Make() 295 return std::make_unique<SwitchStatement>(line, isStatic, std::move(value), std::move(cases), in Make()
|
D | SkSLSwitchStatement.h | 25 class SwitchStatement final : public Statement { 29 SwitchStatement(int line, bool isStatic, std::unique_ptr<Expression> value, in SwitchStatement() function
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
D | parser_impl_switch_stmt_test.cc | 32 ASSERT_TRUE(e->Is<ast::SwitchStatement>()); in TEST_F() 45 ASSERT_TRUE(e->Is<ast::SwitchStatement>()); in TEST_F() 60 ASSERT_TRUE(e->Is<ast::SwitchStatement>()); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/resolver/ |
D | resolver.h | 54 class SwitchStatement; variable 69 class SwitchStatement; variable 223 sem::SwitchStatement* SwitchStatement(const ast::SwitchStatement* s); 273 bool ValidateSwitch(const ast::SwitchStatement* s);
|
D | compound_statement_test.cc | 330 EXPECT_TRUE(s->Is<sem::SwitchStatement>()); in TEST_F() 339 EXPECT_TRUE(s->Is<sem::SwitchStatement>()); in TEST_F() 350 s->FindFirstParent<sem::SwitchStatement>()); in TEST_F() 361 s->FindFirstParent<sem::SwitchStatement>()); in TEST_F() 372 s->FindFirstParent<sem::SwitchStatement>()); in TEST_F()
|
/third_party/skia/src/sksl/analysis/ |
D | SkSLCanExitWithoutReturningValue.cpp | 93 const SwitchStatement& s = stmt.as<SwitchStatement>(); in visitStatement()
|
/third_party/skia/third_party/externals/tint/src/writer/hlsl/ |
D | generator_impl.h | 266 bool EmitCase(const ast::SwitchStatement* s, size_t case_idx); 362 bool EmitSwitch(const ast::SwitchStatement* stmt); 366 bool EmitDefaultOnlySwitch(const ast::SwitchStatement* stmt);
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLGLSLCodeGenerator.h | 40 class SwitchStatement; variable 162 virtual void writeSwitchStatement(const SwitchStatement& s);
|
D | SkSLMetalCodeGenerator.h | 43 class SwitchStatement; variable 247 void writeSwitchStatement(const SwitchStatement& s);
|
/third_party/typescript/src/services/ |
D | documentHighlights.ts | 186 case SyntaxKind.SwitchStatement: 304 case SyntaxKind.SwitchStatement: 305 return getSwitchCaseDefaultOccurrences(owner as SwitchStatement); 313 function getSwitchCaseDefaultOccurrences(switchStatement: SwitchStatement): Node[] {
|
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/ |
D | parserRealSource14.ts | 212 … (<TypeScript.SwitchStatement>this.asts[this.top - 1]).caseList == this.asts[this.top - 0]; 303 … (<TypeScript.SwitchStatement>this.asts[this.top - 2]).caseList == this.asts[this.top - 1]; 310 … (<TypeScript.SwitchStatement>this.asts[this.top - 2]).caseList == this.asts[this.top - 1] && 311 … (<TypeScript.SwitchStatement>this.asts[this.top - 2]).defaultCase == this.asts[this.top - 0];
|
/third_party/node/deps/v8/src/ast/ |
D | source-range-ast-visitor.h | 37 void VisitSwitchStatement(SwitchStatement* stmt);
|
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
D | generator_impl_switch_test.cc | 41 auto* s = create<ast::SwitchStatement>(Expr(cond), body); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/writer/glsl/ |
D | generator_impl_switch_test.cc | 42 auto* s = create<ast::SwitchStatement>(cond, body); in TEST_F()
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
D | generator_impl_switch_test.cc | 42 auto* s = create<ast::SwitchStatement>(cond, body); in TEST_F()
|
D | generator_impl.h | 165 bool EmitSwitch(const ast::SwitchStatement* stmt);
|
/third_party/skia/third_party/externals/tint/docs/ |
D | compound_statements.md | 106 sem::SwitchStatement {
|
/third_party/typescript/tests/baselines/reference/ |
D | parserRealSource11.symbols | 5921 export class SwitchStatement extends Statement { 5922 >SwitchStatement : Symbol(SwitchStatement, Decl(parserRealSource11.ts, 1930, 5)) 5926 >caseList : Symbol(SwitchStatement.caseList, Decl(parserRealSource11.ts, 1932, 52)) 5930 >defaultCase : Symbol(SwitchStatement.defaultCase, Decl(parserRealSource11.ts, 1933, 33)) 5934 >statement : Symbol(SwitchStatement.statement, Decl(parserRealSource11.ts, 1934, 49)) 5939 >val : Symbol(SwitchStatement.val, Decl(parserRealSource11.ts, 1937, 21)) 5947 >isCompoundStatement : Symbol(SwitchStatement.isCompoundStatement, Decl(parserRealSource11.ts, 1939… 5950 >emit : Symbol(SwitchStatement.emit, Decl(parserRealSource11.ts, 1941, 53)) 5959 >this : Symbol(SwitchStatement, Decl(parserRealSource11.ts, 1930, 5)) 5963 >this : Symbol(SwitchStatement, Decl(parserRealSource11.ts, 1930, 5)) [all …]
|
/third_party/skia/src/sksl/ |
D | SkSLInliner.cpp | 564 const SwitchStatement& ss = statement.as<SwitchStatement>(); in inlineStatement() 572 return SwitchStatement::Make(*fContext, line, ss.isStatic(), expr(ss.value()), in inlineStatement() 904 SwitchStatement& switchStmt = (*stmt)->as<SwitchStatement>(); in visitStatement()
|