Home
last modified time | relevance | path

Searched refs:IfStatement (Results 1 – 25 of 1081) sorted by relevance

12345678910>>...44

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/tint/src/src/ast/
H A Dif_statement.cc22 IfStatement::IfStatement() in IfStatement() function in tint::ast::IfStatement
25 IfStatement::IfStatement(std::unique_ptr<Expression> condition, in IfStatement() function in tint::ast::IfStatement
29 IfStatement::IfStatement(const Source& source, in IfStatement() function in tint::ast::IfStatement
36 IfStatement::IfStatement(IfStatement&&) = default;
38 IfStatement::~IfStatement() = default;
40 bool IfStatement::IsIf() const { in IsIf()
44 bool IfStatement::IsValid() const { in IsValid()
68 void IfStatement::to_str(std::ostream& out, size_t indent) const { in to_str()
H A Dif_statement.h30 class IfStatement : public Statement {
33 IfStatement();
37 IfStatement(std::unique_ptr<Expression> condition,
43 IfStatement(const Source& source,
47 IfStatement(IfStatement&&);
48 ~IfStatement() override;
93 IfStatement(const IfStatement&) = delete;
H A Dif_statement_test.cc35 IfStatement stmt(std::move(cond), std::move(body)); in TEST_F()
54 IfStatement stmt; in TEST_F()
63 IfStatement stmt(std::move(cond), std::move(body)); in TEST_F()
77 IfStatement stmt(std::move(cond), std::move(body)); in TEST_F()
86 IfStatement stmt(nullptr, std::move(body)); in TEST_F()
95 IfStatement stmt(std::move(cond), std::move(body)); in TEST_F()
105 IfStatement stmt(std::move(cond), std::move(body)); in TEST_F()
113 body->append(std::make_unique<IfStatement>()); in TEST_F()
115 IfStatement stmt(std::move(cond), std::move(body)); in TEST_F()
130 IfStatement stmt(std::move(cond), std::move(body)); in TEST_F()
[all …]
H A Dstatement.cc192 const IfStatement* Statement::AsIf() const { in AsIf()
194 return static_cast<const IfStatement*>(this); in AsIf()
262 IfStatement* Statement::AsIf() { in AsIf()
264 return static_cast<IfStatement*>(this); in AsIf()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/
H A DControlStatementsFix.java30 import org.eclipse.jdt.core.dom.IfStatement;
85 public boolean visit(IfStatement statement) { in visit()
135 private IfStatement fCursor;
137 public IfElseIterator(IfStatement item) { in IfElseIterator()
141 public IfStatement next() { in next()
145 IfStatement result= fCursor; in next()
160 private IfStatement findStart(IfStatement item) { in findStart()
260 IfStatement ifStatement= (IfStatement)controlStatement; in satisfiesPrecondition()
306 if (p instanceof IfStatement) { in hasUnblockedIf()
359 if (statement instanceof IfStatement) { in createRemoveBlockFix()
[all …]
/dports/games/doomsday/doomsday-2.3.1/doomsday/sdk/libcore/src/scriptsys/
H A Difstatement.cpp29 IfStatement::~IfStatement() in ~IfStatement()
34 void IfStatement::clear() in clear()
44 void IfStatement::newBranch() in newBranch()
49 void IfStatement::setBranchCondition(Expression *condition) in setBranchCondition()
54 Compound &IfStatement::branchCompound() in branchCompound()
59 void IfStatement::execute(Context &context) const in execute()
81 void IfStatement::operator >> (Writer &to) const in operator >>()
96 void IfStatement::operator << (Reader &from) in operator <<()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.core/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/
H A DIfStatement.java31 public class IfStatement extends Statement { class
38 …new ChildPropertyDescriptor(IfStatement.class, "expression", Expression.class, MANDATORY, CYCLE_RI…
45 …new ChildPropertyDescriptor(IfStatement.class, "thenStatement", Statement.class, MANDATORY, CYCLE_…
52 …new ChildPropertyDescriptor(IfStatement.class, "elseStatement", Statement.class, OPTIONAL, CYCLE_R…
63 createPropertyList(IfStatement.class, properyList); in createPropertyList()
113 IfStatement(AST ast) { in IfStatement() method in IfStatement
159 IfStatement result = new IfStatement(target); in clone0()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/
H A DAdvancedQuickAssistProcessor.java330 IfStatement ifStatement= (IfStatement) covering; in getIfReturnIntoIfElseAtEndOfVoidMethodProposals()
396 IfStatement ifStatement= (IfStatement) covering; in getInverseIfProposals()
437 IfStatement ifStatement= (IfStatement) covering; in getInverseIfContinueIntoIfThenInLoopsProposals()
486 IfStatement ifStatement= (IfStatement) covering; in getInverseIfIntoContinueInLoopsProposals()
885 IfStatement ifStatement= (IfStatement) node; in getJoinAndIfStatementsProposals()
1101 IfStatement ifStatement= (IfStatement) node; in getJoinOrIfStatementsProposals()
1129 IfStatement ifStatement= (IfStatement) astNode; in getJoinOrIfStatementsProposals()
1154 IfStatement ifStatement= (IfStatement) astNode; in getJoinOrIfStatementsProposals()
1280 IfStatement ifStatement= (IfStatement) node; in getExchangeInnerAndOuterIfConditionsProposals()
1796 IfStatement ifStatement= (IfStatement) node; in getReplaceIfElseWithConditionalProposals()
[all …]
/dports/lang/mono-basic/mono-basic-4.7/vbnc/vbnc/source/Statements/
H A DElseIfStatement.vb101 Shadows ReadOnly Property Parent() As IfStatement
103 Return DirectCast(MyBase.Parent, IfStatement)
107 Function ParentAsIfStatement() As IfStatement
108 Helper.Assert(TypeOf Me.Parent Is IfStatement)
109 Return DirectCast(Me.Parent, IfStatement)
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/
H A DMergeConditionalBlocksCleanUp.java30 import org.eclipse.jdt.core.dom.IfStatement;
104 public boolean visit(final IfStatement node) { in createFix()
106 List<IfStatement> duplicateIfBlocks= new ArrayList<>(4); in createFix()
125 …private boolean addOneMoreIf(final List<IfStatement> duplicateIfBlocks, final List<Boolean> isThen… in createFix()
126 IfStatement lastBlock= getLast(duplicateIfBlocks); in createFix()
131 IfStatement nextElse= ASTNodes.as(nextStatement, IfStatement.class); in createFix()
193 private final List<IfStatement> duplicateIfBlocks;
196 …public MergeConditionalBlocksOperation(final List<IfStatement> duplicateIfBlocks, final List<Boole… in MergeConditionalBlocksOperation()
216 IfStatement lastBlock= getLast(duplicateIfBlocks); in rewriteAST()
/dports/lang/rhino/rhino1_7R4/src/org/mozilla/javascript/ast/
H A DIfStatement.java18 public class IfStatement extends AstNode { class
31 public IfStatement() { in IfStatement() method in IfStatement
34 public IfStatement(int pos) { in IfStatement() method in IfStatement
38 public IfStatement(int pos, int len) { in IfStatement() method in IfStatement
156 if (elsePart instanceof IfStatement) { in toSource()
/dports/devel/elixir-estree/elixir-estree-2.6.1/lib/es_tree/
H A Dif_statement.ex1 defmodule ESTree.IfStatement do module
2 @type t :: %ESTree.IfStatement{
9 defstruct type: "IfStatement",
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gdc.test/runnable/
H A Dfix20466.d12 extern (C++) final class IfStatement
19 void visit(IfStatement s) in visit()
35 auto s = new IfStatement; in main()
/dports/www/firefox-esr/firefox-91.8.0/gfx/skia/skia/src/sksl/ir/
H A DSkSLIfStatement.h19 struct IfStatement : public Statement { struct
20 IfStatement(int offset, bool isStatic, std::unique_ptr<Expression> test, in IfStatement() function
29 return std::unique_ptr<Statement>(new IfStatement(fOffset, fIsStatic, fTest->clone(), in clone() argument
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/skia/skia/src/sksl/ir/
H A DSkSLIfStatement.h19 struct IfStatement : public Statement { struct
20 IfStatement(int offset, bool isStatic, std::unique_ptr<Expression> test, in IfStatement() argument
29 return std::unique_ptr<Statement>(new IfStatement(fOffset, fIsStatic, fTest->clone(), in clone() argument
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/src/sksl/ir/
H A DSkSLIfStatement.h19 struct IfStatement : public Statement { struct
20 IfStatement(int offset, bool isStatic, std::unique_ptr<Expression> test, in IfStatement() function
29 return std::unique_ptr<Statement>(new IfStatement(fOffset, fIsStatic, fTest->clone(), in clone() argument
/dports/www/firefox/firefox-99.0/gfx/skia/skia/src/sksl/ir/
H A DSkSLIfStatement.h19 struct IfStatement : public Statement { struct
20 IfStatement(int offset, bool isStatic, std::unique_ptr<Expression> test, in IfStatement() argument
29 return std::unique_ptr<Statement>(new IfStatement(fOffset, fIsStatic, fTest->clone(), in clone() argument
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/skia/skia/src/sksl/ir/
H A DSkSLIfStatement.h19 struct IfStatement : public Statement { struct
20 IfStatement(int offset, bool isStatic, std::unique_ptr<Expression> test, in IfStatement() function
29 return std::unique_ptr<Statement>(new IfStatement(fOffset, fIsStatic, fTest->clone(), in clone() argument
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/jdk.rmic/share/classes/sun/tools/tree/
H A DIfStatement.java40 class IfStatement extends Statement { class
48 public IfStatement(long where, Expression cond, Statement ifTrue, Statement ifFalse) { in IfStatement() method in IfStatement
133 return eliminate(env, new IfStatement(where, cond, ifFalse, null)); in inline()
142 IfStatement s = (IfStatement)clone(); in copyInline()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/jdk.rmic/share/classes/sun/tools/tree/
H A DIfStatement.java40 class IfStatement extends Statement { class
48 public IfStatement(long where, Expression cond, Statement ifTrue, Statement ifFalse) { in IfStatement() method in IfStatement
133 return eliminate(env, new IfStatement(where, cond, ifFalse, null)); in inline()
142 IfStatement s = (IfStatement)clone(); in copyInline()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/tools/tree/
H A DIfStatement.java40 class IfStatement extends Statement { class
48 public IfStatement(long where, Expression cond, Statement ifTrue, Statement ifFalse) { in IfStatement() method in IfStatement
133 return eliminate(env, new IfStatement(where, cond, ifFalse, null)); in inline()
142 IfStatement s = (IfStatement)clone(); in copyInline()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/jdk.rmic/share/classes/sun/tools/tree/
H A DIfStatement.java40 class IfStatement extends Statement { class
48 public IfStatement(long where, Expression cond, Statement ifTrue, Statement ifFalse) { in IfStatement() method in IfStatement
133 return eliminate(env, new IfStatement(where, cond, ifFalse, null)); in inline()
142 IfStatement s = (IfStatement)clone(); in copyInline()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/jdk.rmic/share/classes/sun/tools/tree/
H A DIfStatement.java40 class IfStatement extends Statement { class
48 public IfStatement(long where, Expression cond, Statement ifTrue, Statement ifFalse) { in IfStatement() method in IfStatement
133 return eliminate(env, new IfStatement(where, cond, ifFalse, null)); in inline()
142 IfStatement s = (IfStatement)clone(); in copyInline()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/jdk.rmic/share/classes/sun/tools/tree/
H A DIfStatement.java40 class IfStatement extends Statement { class
48 public IfStatement(long where, Expression cond, Statement ifTrue, Statement ifFalse) { in IfStatement() method in IfStatement
133 return eliminate(env, new IfStatement(where, cond, ifFalse, null)); in inline()
142 IfStatement s = (IfStatement)clone(); in copyInline()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/tools/tree/
H A DIfStatement.java40 class IfStatement extends Statement { class
48 public IfStatement(long where, Expression cond, Statement ifTrue, Statement ifFalse) { in IfStatement() method in IfStatement
133 return eliminate(env, new IfStatement(where, cond, ifFalse, null)); in inline()
142 IfStatement s = (IfStatement)clone(); in copyInline()

12345678910>>...44