public class LabelVerifier extends ClassCodeVisitorSupport
This class checks the handling of labels in the AST
Constructor and description |
---|
LabelVerifier
(SourceUnit src) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected void |
assertNoLabelsMissed() |
|
protected SourceUnit |
getSourceUnit() |
|
void |
visitBreakStatement(BreakStatement statement) |
|
protected void |
visitClassCodeContainer(Statement code) |
|
void |
visitContinueStatement(ContinueStatement statement) |
|
void |
visitDoWhileLoop(DoWhileStatement loop) |
|
void |
visitForLoop(ForStatement forLoop) |
|
void |
visitStatement(Statement statement) |
|
void |
visitSwitch(SwitchStatement statement) |
|
void |
visitWhileLoop(WhileStatement loop) |
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.