blob: 8fb58d91c00dcbfd197e7b2c7ae1fc15333ba996 [file] [log] [blame]
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
package com.google.dart.compiler.resolver;
public interface LabelElement extends Element {
public enum LabeledStatementType {
STATEMENT,
SWITCH_MEMBER_STATEMENT,
SWITCH_STATEMENT,
}
/**
* Returns the innermost function where this label is defined.
*/
public MethodElement getEnclosingFunction();
public LabeledStatementType getStatementType();
}