public static enum RubyLocalJumpError.Reason extends Enum<RubyLocalJumpError.Reason>
Enum Constant and Description |
---|
BREAK |
NEXT |
NOREASON |
REDO |
RETRY |
RETURN |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static RubyLocalJumpError.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RubyLocalJumpError.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RubyLocalJumpError.Reason REDO
public static final RubyLocalJumpError.Reason BREAK
public static final RubyLocalJumpError.Reason NEXT
public static final RubyLocalJumpError.Reason RETURN
public static final RubyLocalJumpError.Reason RETRY
public static final RubyLocalJumpError.Reason NOREASON
public static RubyLocalJumpError.Reason[] values()
for (RubyLocalJumpError.Reason c : RubyLocalJumpError.Reason.values()) System.out.println(c);
public static RubyLocalJumpError.Reason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<RubyLocalJumpError.Reason>
Copyright © 2001-2016 JRuby. All Rights Reserved.