public class IfStatementContext extends StatementContext<IfStmt>
typeSolver, wrappedNode
Constructor and Description |
---|
IfStatementContext(IfStmt wrappedNode,
TypeSolver typeSolver) |
Modifier and Type | Method and Description |
---|---|
boolean |
nodeContextIsChainedIfElseIf(Context parentContext)
if() {
// Does not match here (doesn't need to, as stuff inside of the if() is likely in context..)
} else if() {
// Matches here
} else {
// Matches here
}
|
boolean |
nodeContextIsConditionOfIfStmt(Context parentContext) |
boolean |
nodeContextIsImmediateChildElse(Context parentContext)
if() {
// Does not match here (doesn't need to, as stuff inside of the if() is likely in context..)
} else {
// Does not match here, as the else block is a field inside of an ifstmt as opposed to child
}
|
boolean |
nodeContextIsThenOfIfStmt(Context parentContext)
if() {
// Does not match here (doesn't need to, as stuff inside of the if() is likely in context..)
} else {
// Does not match here, as the else block is a field inside of an ifstmt as opposed to child
}
|
List<TypePatternExpr> |
typePatternExprsExposedToChild(Node child) |
negatedTypePatternExprsExposedFromChildren, solveInBlock, solveInBlockAsValue, solveMethod, solveSymbol, solveSymbolAsValue, solveWithAsValue, typePatternExprsExposedFromChildren
equals, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, solveMethodAsUsage, solveSymbolInParentContext, solveWith, typePatternExprsDiscoveredInPattern
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
public IfStatementContext(IfStmt wrappedNode, TypeSolver typeSolver)
public List<TypePatternExpr> typePatternExprsExposedToChild(Node child)
public boolean nodeContextIsChainedIfElseIf(Context parentContext)
if() {
// Does not match here (doesn't need to, as stuff inside of the if() is likely in context..)
} else if() {
// Matches here
} else {
// Matches here
}
public boolean nodeContextIsImmediateChildElse(Context parentContext)
if() {
// Does not match here (doesn't need to, as stuff inside of the if() is likely in context..)
} else {
// Does not match here, as the else block is a field inside of an ifstmt as opposed to child
}
public boolean nodeContextIsThenOfIfStmt(Context parentContext)
if() {
// Does not match here (doesn't need to, as stuff inside of the if() is likely in context..)
} else {
// Does not match here, as the else block is a field inside of an ifstmt as opposed to child
}
public boolean nodeContextIsConditionOfIfStmt(Context parentContext)
Copyright © 2007–2024. All rights reserved.