public class BlockStmtContext extends StatementContext<BlockStmt>
typeSolver, wrappedNode| Constructor and Description |
|---|
BlockStmtContext(BlockStmt wrappedNode,
TypeSolver typeSolver) |
| Modifier and Type | Method and Description |
|---|---|
List<VariableDeclarator> |
localVariablesExposedToChild(Node child) |
SymbolReference<? extends ResolvedValueDeclaration> |
solveSymbol(String name) |
List<TypePatternExpr> |
typePatternExprsExposedToChild(Node child)
The following rule applies to a block statement S contained in a block that is not a switch block:
- A pattern variable introduced by S is definitely matched at all the block statements following S, if any,
in the block.
|
getIntroducedTypePatterns, solveInBlock, solveInBlockAsValue, solveMethod, solveSymbolAsValue, solveWithAsValueequals, findExposedPatternInParentContext, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, negatedTypePatternExprsExposedFromChildren, solveMethodAsUsage, solveSymbolInParentContext, solveWith, typePatternExprsDiscoveredInPattern, typePatternExprsExposedFromChildrenclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitfieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValueInParentContext, solveType, solveType, solveTypeInParentContext, solveTypeInParentContext, typePatternExprInScopepublic BlockStmtContext(BlockStmt wrappedNode, TypeSolver typeSolver)
public List<VariableDeclarator> localVariablesExposedToChild(Node child)
public List<TypePatternExpr> typePatternExprsExposedToChild(Node child)
public SymbolReference<? extends ResolvedValueDeclaration> solveSymbol(String name)
solveSymbol in interface ContextsolveSymbol in class StatementContext<BlockStmt>Copyright © 2007–2024. All rights reserved.