|
Pep 0.4 API Documentation | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Status> edu.osu.ling.pep.Status
public enum Status
Reflects the status
of a parse
completed by an Earley parser
.
Parse
,
EarleyParser
Enum Constant Summary | |
---|---|
ACCEPT
Means that a string is a valid string of a given grammar ,
as determined by
parsing . |
|
ERROR
Used for parses where an error occurs during processing. |
|
REJECT
Signals that a string is rejected after parsing. |
Method Summary | |
---|---|
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Status[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Status ACCEPT
grammar
,
as determined by
parsing
.
public static final Status ERROR
parses
where an error occurs during processing.
public static final Status REJECT
Method Detail |
---|
public static Status valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static final Status[] values()
for(Status c : Status.values()) System.out.println(c);
|
Pep: Pep is an Earley parser | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the overview file.