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:
TreeVisitor<R,
P>
- Enclosing class:
- SwitchExpressionScanner<R,
P>
A scanner that visits all the yield trees in a given tree and calls
SwitchExpressionScanner.visitSwitchResultExpression(ExpressionTree, Object)
on the expression in the yield trees. It
does not descend into switch expressions.-
Constructor Summary
-
Method Summary
Methods inherited from class com.sun.source.util.TreeScanner
scan, visitAnnotatedType, visitAnnotation, visitArrayAccess, visitArrayType, visitAssert, visitAssignment, visitBinary, visitBindingPattern, visitBlock, visitBreak, visitCase, visitCatch, visitClass, visitCompilationUnit, visitCompoundAssignment, visitConditionalExpression, visitContinue, visitDefaultCaseLabel, visitDoWhileLoop, visitEmptyStatement, visitEnhancedForLoop, visitErroneous, visitExports, visitExpressionStatement, visitForLoop, visitGuardedPattern, visitIdentifier, visitIf, visitImport, visitInstanceOf, visitIntersectionType, visitLabeledStatement, visitLambdaExpression, visitLiteral, visitMemberReference, visitMemberSelect, visitMethod, visitMethodInvocation, visitModifiers, visitModule, visitNewArray, visitNewClass, visitOpens, visitOther, visitPackage, visitParameterizedType, visitParenthesized, visitParenthesizedPattern, visitPrimitiveType, visitProvides, visitRequires, visitReturn, visitSwitch, visitSwitchExpression, visitSynchronized, visitThrow, visitTry, visitTypeCast, visitTypeParameter, visitUnary, visitUnionType, visitUses, visitVariable, visitWhileLoop, visitWildcard, visitYield
-
Constructor Details
-
YieldVisitor
protected YieldVisitor()
-
-
Method Details
-
scan
- Overrides:
scan
in classTreeScanner<@Nullable R,
P>
-
reduce
- Overrides:
reduce
in classTreeScanner<@Nullable R,
P>
-