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() |
|
public void |
visitBreakStatement(BreakStatement statement) |
|
protected void |
visitClassCodeContainer(Statement code) |
|
public void |
visitContinueStatement(ContinueStatement statement) |
|
public void |
visitDoWhileLoop(DoWhileStatement loop) |
|
public void |
visitForLoop(ForStatement forLoop) |
|
public void |
visitStatement(Statement statement) |
|
public void |
visitSwitch(SwitchStatement statement) |
|
public void |
visitWhileLoop(WhileStatement loop) |
Copyright © 2003-2021 The Apache Software Foundation. All rights reserved.