Lines Matching defs:labels
42 Identifier labels[] = null;
85 if (labels == null) {
86 labels = new Identifier[1];
88 // this should almost never happen. Multiple labels on
90 Identifier newLabels[] = new Identifier[labels.length + 1];
91 System.arraycopy(labels, 0, newLabels, 1, labels.length);
92 labels = newLabels;
94 labels[0] = ((IdentifierExpression)e).id;
138 * Make sure the labels on this statement do not duplicate the
139 * labels on any enclosing statement. Provided as a convenience
143 if (labels != null) {
144 loop: for (int i = 0; i < labels.length; i++) {
146 for (int j = i+1; j < labels.length; j++) {
147 if (labels[i] == labels[j]) {
148 env.error(where, "nested.duplicate.label", labels[i]);
155 (CheckContext) ctx.getLabelContext(labels[i]);
160 env.error(where, "nested.duplicate.label", labels[i]);
195 if ((s != null) && (labels != null)) {
198 s.labels = labels;
295 Identifier labels[] = this.labels;
296 if (labels != null) {
297 for (int i = labels.length; --i >= 0; ) {
298 if (labels[i].equals(lbl)) {
334 if (labels != null) {
335 for (int i = labels.length; --i >= 0; )
336 out.print(labels[i] + ": ");