Class BinaryExprContext
java.lang.Object
com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext<BinaryExpr>
com.github.javaparser.symbolsolver.javaparsermodel.contexts.ExpressionContext<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 TypeMethodDescriptionThe pattern expressions that are declared in this immediate context and made visible to a given child.private List
<TypePatternExpr> The following rules apply to a conditional-and expression a invalid input: '&'invalid input: '&' b: - A pattern variable introduced by a when true is definitely matched at b.private List
<TypePatternExpr> The following rules apply to a conditional-and expression a || b: - A pattern variable introduced by a when false is definitely matched at b.Methods inherited from class com.github.javaparser.symbolsolver.javaparsermodel.contexts.ExpressionContext
solveSymbol, solveSymbolAsValue
Methods inherited from class com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParserContext
equals, findExposedPatternInParentContext, findTypeDeclarations, getParent, getScope, getWrappedNode, hashCode, negatedTypePatternExprsExposedFromChildren, solveMethodAsUsage, solveSymbolInParentContext, solveWith, solveWithAsValue, typePatternExprsDiscoveredInPattern, typePatternExprsExposedFromChildren
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.javaparser.resolution.Context
fieldDeclarationInScope, fieldsExposedToChild, localVariableDeclarationInScope, localVariablesExposedToChild, parameterDeclarationInScope, parametersExposedToChild, solveConstructor, solveGenericType, solveGenericTypeInParentContext, solveMethod, solveMethodInParentContext, solveSymbolAsValueInParentContext, solveType, solveType, solveTypeInParentContext, solveTypeInParentContext, typePatternExprInScope
-
Constructor Details
-
BinaryExprContext
-
-
Method Details
-
typePatternExprsExposedToChild
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. -
typePatternExprsExposedToChildByAnd
The following rules apply to a conditional-and expression a invalid input: '&'invalid input: '&' b: - A pattern variable introduced by a when true is definitely matched at b. https://docs.oracle.com/javase/specs/jls/se21/html/jls-6.html#jls-6.3.1.1 -
typePatternExprsExposedToChildByOr
The following rules apply to a conditional-and expression a || b: - A pattern variable introduced by a when false is definitely matched at b. https://docs.oracle.com/javase/specs/jls/se21/html/jls-6.html#jls-6.3.1.2
-