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, 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, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethodInParentContext, solveSymbolAsValueInParentContext, solveType, solveType, solveTypeInParentContext, solveTypeInParentContext, typePatternExprInScope
public 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 Context
solveSymbol
in class StatementContext<BlockStmt>
Copyright © 2007–2024. All rights reserved.