protected static enum ProcessIOParser.Parser.State extends Enum<ProcessIOParser.Parser.State>
Enum Constant and Description |
---|
CR
Got '\r', expecting '\n' from EOL.
|
ERROR
Error state.
|
LINE
Reading line characters until line separator or prompt.
|
START
Initial state, expecting line 1st character.
|
Modifier and Type | Field and Description |
---|---|
protected static int |
length
Enumeration length.
|
protected static ProcessIOParser.Parser.State[][] |
transition
Transition table for [State, Input].
|
Modifier and Type | Method and Description |
---|---|
protected static ProcessIOParser.Parser.State |
next(ProcessIOParser.Parser.State s,
ProcessIOParser.Parser.Input i)
State machine transition.
|
static ProcessIOParser.Parser.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessIOParser.Parser.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessIOParser.Parser.State START
public static final ProcessIOParser.Parser.State LINE
public static final ProcessIOParser.Parser.State CR
public static final ProcessIOParser.Parser.State ERROR
protected static final int length
protected static final ProcessIOParser.Parser.State[][] transition
public static ProcessIOParser.Parser.State[] values()
for (ProcessIOParser.Parser.State c : ProcessIOParser.Parser.State.values()) System.out.println(c);
public static ProcessIOParser.Parser.State 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 nullprotected static ProcessIOParser.Parser.State next(ProcessIOParser.Parser.State s, ProcessIOParser.Parser.Input i)
s
- Current machine state.i
- current input class.Copyright © 2013. All Rights Reserved.