public class LabelVerifier
extends PrePostStatementVisitor
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() |
|
protected void |
postVisitStatement(Statement s) |
|
public void |
visitBreakStatement(BreakStatement breakStatement) |
|
protected void |
visitClassCodeContainer(Statement code) |
|
public void |
visitContinueStatement(ContinueStatement continueStatement) |
|
public void |
visitDoWhileLoop(DoWhileStatement loop) |
|
public void |
visitForLoop(ForStatement loop) |
|
public void |
visitIfElse(IfStatement cond) |
|
protected void |
visitStatement(Statement s) |
|
public void |
visitSwitch(SwitchStatement switchStatement) |
|
public void |
visitWhileLoop(WhileStatement loop) |
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.