public LabelFlowContext(FlowContext parent, ASTNode associatedNode, char[] labelName, BranchLabel breakLabel, BlockScope scope) { super(parent, associatedNode, breakLabel, false); this.labelName = labelName; checkLabelValidity(scope); }
currentScope, (labelContext = new LabelFlowContext( flowContext, this,
void checkLabelValidity(BlockScope scope) { // check if label was already defined above FlowContext current = this.getLocalParent(); while (current != null) { char[] currentLabelName; if (((currentLabelName = current.labelName()) != null) && CharOperation.equals(currentLabelName, this.labelName)) { scope.problemReporter().alreadyDefinedLabel(this.labelName, this.associatedNode); } current = current.getLocalParent(); } }
currentScope, (labelContext = new LabelFlowContext( flowContext, this,
void checkLabelValidity(BlockScope scope) { // check if label was already defined above FlowContext current = this.getLocalParent(); while (current != null) { char[] currentLabelName; if (((currentLabelName = current.labelName()) != null) && CharOperation.equals(currentLabelName, this.labelName)) { scope.problemReporter().alreadyDefinedLabel(this.labelName, this.associatedNode); } current = current.getLocalParent(); } }
public LabelFlowContext(FlowContext parent, ASTNode associatedNode, char[] labelName, BranchLabel breakLabel, BlockScope scope) { super(parent, associatedNode, breakLabel, false); this.labelName = labelName; checkLabelValidity(scope); }
currentScope, (labelContext = new LabelFlowContext( flowContext, this,
void checkLabelValidity(BlockScope scope) { // check if label was already defined above FlowContext current = this.getLocalParent(); while (current != null) { char[] currentLabelName; if (((currentLabelName = current.labelName()) != null) && CharOperation.equals(currentLabelName, this.labelName)) { scope.problemReporter().alreadyDefinedLabel(this.labelName, this.associatedNode); } current = current.getLocalParent(); } }
public LabelFlowContext(FlowContext parent, ASTNode associatedNode, char[] labelName, BranchLabel breakLabel, BlockScope scope) { super(parent, associatedNode, breakLabel, false, true); this.labelName = labelName; checkLabelValidity(scope); }
currentScope, (labelContext = new LabelFlowContext( flowContext, this,
void checkLabelValidity(BlockScope scope) { // check if label was already defined above FlowContext current = this.getLocalParent(); while (current != null) { char[] currentLabelName; if (((currentLabelName = current.labelName()) != null) && CharOperation.equals(currentLabelName, this.labelName)) { scope.problemReporter().alreadyDefinedLabel(this.labelName, this.associatedNode); } current = current.getLocalParent(); } }
public LabelFlowContext(FlowContext parent, ASTNode associatedNode, char[] labelName, BranchLabel breakLabel, BlockScope scope) { super(parent, associatedNode, breakLabel, false); this.labelName = labelName; checkLabelValidity(scope); }
currentScope, (labelContext = new LabelFlowContext( flowContext, this,
void checkLabelValidity(BlockScope scope) { // check if label was already defined above FlowContext current = this.getLocalParent(); while (current != null) { char[] currentLabelName; if (((currentLabelName = current.labelName()) != null) && CharOperation.equals(currentLabelName, this.labelName)) { scope.problemReporter().alreadyDefinedLabel(this.labelName, this.associatedNode); } current = current.getLocalParent(); } }
public LabelFlowContext(FlowContext parent, ASTNode associatedNode, char[] labelName, BranchLabel breakLabel, BlockScope scope) { super(parent, associatedNode, breakLabel, false); this.labelName = labelName; checkLabelValidity(scope); }
currentScope, (labelContext = new LabelFlowContext( flowContext, this,
void checkLabelValidity(BlockScope scope) { // check if label was already defined above FlowContext current = this.getLocalParent(); while (current != null) { char[] currentLabelName; if (((currentLabelName = current.labelName()) != null) && CharOperation.equals(currentLabelName, this.labelName)) { scope.problemReporter().alreadyDefinedLabel(this.labelName, this.associatedNode); } current = current.getLocalParent(); } }
public LabelFlowContext(FlowContext parent, ASTNode associatedNode, char[] labelName, BranchLabel breakLabel, BlockScope scope) { super(parent, associatedNode, breakLabel, false, true); this.labelName = labelName; checkLabelValidity(scope); }
currentScope, (labelContext = new LabelFlowContext( flowContext, this,
void checkLabelValidity(BlockScope scope) { // check if label was already defined above FlowContext current = this.getLocalParent(); while (current != null) { char[] currentLabelName; if (((currentLabelName = current.labelName()) != null) && CharOperation.equals(currentLabelName, this.labelName)) { scope.problemReporter().alreadyDefinedLabel(this.labelName, this.associatedNode); } current = current.getLocalParent(); } }