Class BinaryExprContext
java.lang.Object
com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext<BinaryExpr>
com.github.javaparser.symbolsolver.javaparsermodel.contexts.BinaryExprContext
- All Implemented Interfaces:
Context
-
Field Summary
Fields inherited from class com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext
typeSolver, wrappedNode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanisDefinitivelyFalse(Expression expression) private booleanisDefinitivelyTrue(Expression expression) private List<PatternExpr> patternExprInScope(String name) With respect to solving, the AST "parent" of a block statement is not necessarily the same as the scope parent.patternExprsExposedToChild(Node child) The pattern expressions that are declared in this immediate context and made visible to a given child.private List<PatternExpr> Methods inherited from class com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext
equals, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, isQualifiedName, solveMethodAsUsage, solveSymbolInParentContext, solveWith, solveWithAsValueMethods inherited from class java.lang.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, solveMethod, solveMethodInParentContext, solveSymbol, solveSymbolAsValue, solveSymbolAsValueInParentContext, solveType, solveType, solveTypeInParentContext, solveTypeInParentContext
-
Constructor Details
-
BinaryExprContext
-
-
Method Details
-
patternExprsExposedFromChildren
-
negatedPatternExprsExposedFromChildren
-
patternExprsExposedToDirectParentFromBranch
-
negatedPatternExprsExposedToDirectParentFromBranch
-
patternExprsExposedToChild
Description copied from interface:ContextThe pattern expressions that are declared in this immediate context and made visible to a given child. This list could include values which are shadowed. -
patternExprInScope
Description copied from interface:ContextWith respect to solving, the AST "parent" of a block statement is not necessarily the same as the scope parent.
Example:
public String x() { if(x) { // Parent node: the block attached to the method declaration // Scope-parent: the block attached to the method declaration } else if { // Parent node: the if // Scope-parent: the block attached to the method declaration } else { // Parent node: the elseif // Scope-parent: the block attached to the method declaration } } -
isDefinitivelyTrue
-
isDefinitivelyFalse
-