public class DoStatementContext extends StatementContext<DoStmt>
typeSolver, wrappedNode
Constructor and Description |
---|
DoStatementContext(DoStmt wrappedNode,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
List<TypePatternExpr> |
getIntroducedTypePatterns()
The following rule applies to a statement do S while (e):
- A pattern variable is introduced by do S while (e) iff
(i) it is introduced by e when false and
(ii) S does not contain a reachable break statement for which the do statement is the break target.
|
solveInBlock, solveInBlockAsValue, solveMethod, solveSymbol, solveSymbolAsValue, solveWithAsValue
equals, findExposedPatternInParentContext, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, negatedTypePatternExprsExposedFromChildren, solveMethodAsUsage, solveSymbolInParentContext, solveWith, typePatternExprsDiscoveredInPattern, typePatternExprsExposedFromChildren
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValueInParentContext, solveType, solveType, solveTypeInParentContext, solveTypeInParentContext, typePatternExprInScope, typePatternExprsExposedToChild
public DoStatementContext(DoStmt wrappedNode, TypeSolver typeSolver)
public List<TypePatternExpr> getIntroducedTypePatterns()
getIntroducedTypePatterns
in class StatementContext<DoStmt>
Copyright © 2007–2024. All rights reserved.