Package org.checkerframework.javacutil
Class SwitchExpressionScanner.YieldVisitor
- java.lang.Object
-
- com.sun.source.util.TreeScanner<@Nullable R,P>
-
- org.checkerframework.javacutil.SwitchExpressionScanner.YieldVisitor
-
- All Implemented Interfaces:
com.sun.source.tree.TreeVisitor<R,P>
- Enclosing class:
- SwitchExpressionScanner<R,P>
protected class SwitchExpressionScanner.YieldVisitor extends com.sun.source.util.TreeScanner<@Nullable R,P>
A scanner that visits all the yield trees in a given tree and callsSwitchExpressionScanner.visitSwitchResultExpression(ExpressionTree, Object)
on the expression in the yield trees. It does not descend into switch expressions.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
YieldVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description R
reduce(R r1, R r2)
@Nullable R
scan(com.sun.source.tree.Tree tree, P p)
-
Methods inherited from class com.sun.source.util.TreeScanner
scan, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBinary, visitBlock, visitBreak, visitCase, visitCatch, visitClass, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitContinue, visitDoWhileLoop, visitEmptyStatement, visitEnhancedForLoop, visitErroneous, visitExports, visitExpressionStatement, visitForLoop, visitIdentifier, visitIf, visitImport, visitInstanceOf, visitIntersectionType, visitLabeledStatement, visitLambdaExpression, visitLiteral, visitMemberReference, visitMemberSelect, visitMethod, visitMethodInvocation, visitModifiers, visitModule, visitNewArray, visitNewClass, visitOpens, visitOther, visitPackage, visitParameterizedType, visitParenthesized, visitPrimitiveType, visitProvides, visitRequires, visitReturn, visitSwitch, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitUnionType, visitUses, visitVariable, visitWhileLoop, visitWildcard
-
-