public static enum InterpreterException.Position.Type extends java.lang.Enum<InterpreterException.Position.Type>
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.lang.String |
markLine(java.lang.String code,
int position,
int startOfCurrentLine,
int endLineIndex) |
static InterpreterException.Position.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InterpreterException.Position.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterpreterException.Position.Type CHAR
public static final InterpreterException.Position.Type LINE
public static InterpreterException.Position.Type[] values()
for (InterpreterException.Position.Type c : InterpreterException.Position.Type.values()) System.out.println(c);
public static InterpreterException.Position.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullprotected abstract java.lang.String markLine(java.lang.String code,
int position,
int startOfCurrentLine,
int endLineIndex)