namespace Semmle.Extraction
{
///
/// How an entity behaves with respect to .push and .pop
///
public enum TrapStackBehaviour
{
///
/// The entity must not be extracted inside a .push/.pop
///
NoLabel,
///
/// The entity defines its own label, creating a .push/.pop
///
PushesLabel,
///
/// The entity must be extracted inside a .push/.pop
///
NeedsLabel,
///
/// The entity can be extracted inside or outside of a .push/.pop
///
OptionalLabel
}
}