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
-
Method Summary
Modifier and TypeMethodDescriptionpatternExprInScope(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.Methods inherited from class com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext
equals, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, isQualifiedName, solveSymbolInParentContext, solveWith, solveWithAsValue
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.javaparser.symbolsolver.core.resolution.Context
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethod, solveMethodAsUsage, solveMethodInParentContext, solveSymbol, solveSymbolAsValue, solveSymbolAsValueInParentContext, solveType, solveTypeInParentContext
-
Constructor Details
-
BinaryExprContext
-
-
Method Details
-
patternExprsExposedFromChildren
-
negatedPatternExprsExposedFromChildren
-
patternExprsExposedToChild
Description copied from interface:Context
The 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:Context
With 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 } }
-