|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.internal.compiler.ast.ASTNode
org.eclipse.jdt.internal.compiler.ast.Statement
org.eclipse.jdt.internal.compiler.ast.LabeledStatement
public class LabeledStatement
Field Summary | |
---|---|
char[] |
label
|
int |
labelEnd
|
Statement |
statement
|
BranchLabel |
targetLabel
|
Constructor Summary | |
---|---|
LabeledStatement(char[] label,
Statement statement,
long labelPosition,
int sourceEnd)
LabeledStatement constructor comment. |
Method Summary | |
---|---|
FlowInfo |
analyseCode(BlockScope currentScope,
FlowContext flowContext,
FlowInfo flowInfo)
|
ASTNode |
concreteStatement()
|
void |
generateCode(BlockScope currentScope,
CodeStream codeStream)
Code generation for labeled statement may not need actual source positions recording |
java.lang.StringBuffer |
printStatement(int tab,
java.lang.StringBuffer output)
|
void |
resolve(BlockScope scope)
|
void |
traverse(ASTVisitor visitor,
BlockScope blockScope)
|
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.Statement |
---|
branchChainTo, complainIfUnreachable, generateArguments, isEmptyBlock, isValidJavaStatement, print, resolveCase |
Methods inherited from class org.eclipse.jdt.internal.compiler.ast.ASTNode |
---|
checkInvocationArguments, isFieldUseDeprecated, isImplicitThis, isMethodUseDeprecated, isSuper, isThis, isTypeUseDeprecated, printAnnotations, printIndent, printModifiers, resolveAnnotations, resolveDeprecatedAnnotations, sourceEnd, sourceStart, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Statement statement
public char[] label
public BranchLabel targetLabel
public int labelEnd
Constructor Detail |
---|
public LabeledStatement(char[] label, Statement statement, long labelPosition, int sourceEnd)
Method Detail |
---|
public FlowInfo analyseCode(BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo)
analyseCode
in class Statement
public ASTNode concreteStatement()
concreteStatement
in class ASTNode
public void generateCode(BlockScope currentScope, CodeStream codeStream)
generateCode
in class Statement
currentScope
- org.eclipse.jdt.internal.compiler.lookup.BlockScopecodeStream
- org.eclipse.jdt.internal.compiler.codegen.CodeStreampublic java.lang.StringBuffer printStatement(int tab, java.lang.StringBuffer output)
printStatement
in class Statement
public void resolve(BlockScope scope)
resolve
in class Statement
public void traverse(ASTVisitor visitor, BlockScope blockScope)
traverse
in class ASTNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |