Class DoStatementContext
java.lang.Object
com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext<com.github.javaparser.ast.stmt.DoStmt>
com.github.javaparser.symbolsolver.javaparsermodel.contexts.StatementContext<com.github.javaparser.ast.stmt.DoStmt>
com.github.javaparser.symbolsolver.javaparsermodel.contexts.DoStatementContext
- All Implemented Interfaces:
com.github.javaparser.resolution.Context
-
Field Summary
Fields inherited from class AbstractJavaParserContext
typeSolver, wrappedNode -
Constructor Summary
ConstructorsConstructorDescriptionDoStatementContext(com.github.javaparser.ast.stmt.DoStmt wrappedNode, com.github.javaparser.resolution.TypeSolver typeSolver) -
Method Summary
Modifier and TypeMethodDescriptionList<com.github.javaparser.ast.expr.TypePatternExpr> 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.Methods inherited from class StatementContext
solveInBlock, solveInBlockAsValue, solveMethod, solveSymbol, solveSymbolAsValue, solveWithAsValueMethods inherited from class AbstractJavaParserContext
equals, findExposedPatternInParentContext, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, negatedTypePatternExprsExposedFromChildren, solveMethodAsUsage, solveSymbolInParentContext, solveWith, typePatternExprsDiscoveredInPattern, typePatternExprsExposedFromChildrenMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.javaparser.resolution.Context
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValueInParentContext, solveType, solveType, solveTypeInParentContext, solveTypeInParentContext, typePatternExprInScope, typePatternExprsExposedToChild
-
Constructor Details
-
DoStatementContext
public DoStatementContext(com.github.javaparser.ast.stmt.DoStmt wrappedNode, com.github.javaparser.resolution.TypeSolver typeSolver)
-
-
Method Details
-
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. https://docs.oracle.com/javase/specs/jls/se21/html/jls-6.html#jls-6.3.2.4- Overrides:
getIntroducedTypePatternsin classStatementContext<com.github.javaparser.ast.stmt.DoStmt>
-