|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.util.AbstractEnumerator
com.ibm.etools.cobol.application.model.cobol.LiteralType
public final class LiteralType
A representation of the standard literals or the type of literal.
The literals are:
The types are:
This includes the literals of the enumeration 'Literal Type', and utility methods for working with them.
COBOLPackage.getLiteralType(),
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
static int |
LITTYPE_BOOL_FALSE
The 'LITTYPE BOOL FALSE' literal value. |
static LiteralType |
LITTYPE_BOOL_FALSE_LITERAL
The 'LITTYPE BOOL FALSE' literal object. |
static int |
LITTYPE_BOOL_TRUE
The 'LITTYPE BOOL TRUE' literal value. |
static LiteralType |
LITTYPE_BOOL_TRUE_LITERAL
The 'LITTYPE BOOL TRUE' literal object. |
static int |
LITTYPE_FIG_HIGH_VALUE
The 'LITTYPE FIG HIGH VALUE' literal value. |
static LiteralType |
LITTYPE_FIG_HIGH_VALUE_LITERAL
The 'LITTYPE FIG HIGH VALUE' literal object. |
static int |
LITTYPE_FIG_LOW_VALUE
The 'LITTYPE FIG LOW VALUE' literal value. |
static LiteralType |
LITTYPE_FIG_LOW_VALUE_LITERAL
The 'LITTYPE FIG LOW VALUE' literal object. |
static int |
LITTYPE_FIG_NULL
The 'LITTYPE FIG NULL' literal value. |
static LiteralType |
LITTYPE_FIG_NULL_LITERAL
The 'LITTYPE FIG NULL' literal object. |
static int |
LITTYPE_FIG_QUOTE
The 'LITTYPE FIG QUOTE' literal value. |
static LiteralType |
LITTYPE_FIG_QUOTE_LITERAL
The 'LITTYPE FIG QUOTE' literal object. |
static int |
LITTYPE_FIG_SPACE
The 'LITTYPE FIG SPACE' literal value. |
static LiteralType |
LITTYPE_FIG_SPACE_LITERAL
The 'LITTYPE FIG SPACE' literal object. |
static int |
LITTYPE_FIG_ZERO
The 'LITTYPE FIG ZERO' literal value. |
static LiteralType |
LITTYPE_FIG_ZERO_LITERAL
The 'LITTYPE FIG ZERO' literal object. |
static int |
LITTYPE_INT_NUM
The 'LITTYPE INT NUM' literal value. |
static LiteralType |
LITTYPE_INT_NUM_LITERAL
The 'LITTYPE INT NUM' literal object. |
static int |
LITTYPE_REAL_NUM
The 'LITTYPE REAL NUM' literal value. |
static LiteralType |
LITTYPE_REAL_NUM_LITERAL
The 'LITTYPE REAL NUM' literal object. |
static int |
LITTYPE_STRING
The 'LITTYPE STRING' literal value. |
static LiteralType |
LITTYPE_STRING_LITERAL
The 'LITTYPE STRING' literal object. |
static java.util.List |
VALUES
A public read-only list of all the 'Literal Type' enumerators. |
| Method Summary | |
|---|---|
static LiteralType |
get(int value)
Returns the 'Literal Type' literal with the specified integer value. |
static LiteralType |
get(java.lang.String literal)
Returns the 'Literal Type' literal with the specified literal value. |
static LiteralType |
getByName(java.lang.String name)
Returns the 'Literal Type' literal with the specified name. |
| Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator |
|---|
getLiteral, getName, getValue, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyright
public static final int LITTYPE_BOOL_TRUE
Represents the keyword TRUE.
LITTYPE_BOOL_TRUE_LITERAL,
Constant Field Valuespublic static final int LITTYPE_BOOL_FALSE
Represents the keyword FALSE.
LITTYPE_BOOL_FALSE_LITERAL,
Constant Field Valuespublic static final int LITTYPE_INT_NUM
Indicates that the literal is an integer.
LITTYPE_INT_NUM_LITERAL,
Constant Field Valuespublic static final int LITTYPE_REAL_NUM
Indicates that the literal is a real number.
LITTYPE_REAL_NUM_LITERAL,
Constant Field Valuespublic static final int LITTYPE_STRING
Indicates that the literal is a string.
LITTYPE_STRING_LITERAL,
Constant Field Valuespublic static final int LITTYPE_FIG_ZERO
Represents the keyword ZERO.
LITTYPE_FIG_ZERO_LITERAL,
Constant Field Valuespublic static final int LITTYPE_FIG_HIGH_VALUE
Represents the keywords HIGH-VALUE or HIGH-VALUES.
LITTYPE_FIG_HIGH_VALUE_LITERAL,
Constant Field Valuespublic static final int LITTYPE_FIG_LOW_VALUE
Represents the keywords LOW-VALUE or LOW-VALUES.
LITTYPE_FIG_LOW_VALUE_LITERAL,
Constant Field Valuespublic static final int LITTYPE_FIG_SPACE
Represents the keywords SPACE or SPACES.
LITTYPE_FIG_SPACE_LITERAL,
Constant Field Valuespublic static final int LITTYPE_FIG_QUOTE
Represents the QUOTE keyword.
LITTYPE_FIG_QUOTE_LITERAL,
Constant Field Valuespublic static final int LITTYPE_FIG_NULL
Represents the keywords NULL or NULLS.
LITTYPE_FIG_NULL_LITERAL,
Constant Field Valuespublic static final LiteralType LITTYPE_BOOL_TRUE_LITERAL
LITTYPE_BOOL_TRUEpublic static final LiteralType LITTYPE_BOOL_FALSE_LITERAL
LITTYPE_BOOL_FALSEpublic static final LiteralType LITTYPE_INT_NUM_LITERAL
LITTYPE_INT_NUMpublic static final LiteralType LITTYPE_REAL_NUM_LITERAL
LITTYPE_REAL_NUMpublic static final LiteralType LITTYPE_STRING_LITERAL
LITTYPE_STRINGpublic static final LiteralType LITTYPE_FIG_ZERO_LITERAL
LITTYPE_FIG_ZEROpublic static final LiteralType LITTYPE_FIG_HIGH_VALUE_LITERAL
LITTYPE_FIG_HIGH_VALUEpublic static final LiteralType LITTYPE_FIG_LOW_VALUE_LITERAL
LITTYPE_FIG_LOW_VALUEpublic static final LiteralType LITTYPE_FIG_SPACE_LITERAL
LITTYPE_FIG_SPACEpublic static final LiteralType LITTYPE_FIG_QUOTE_LITERAL
LITTYPE_FIG_QUOTEpublic static final LiteralType LITTYPE_FIG_NULL_LITERAL
LITTYPE_FIG_NULLpublic static final java.util.List VALUES
| Method Detail |
|---|
public static LiteralType get(java.lang.String literal)
public static LiteralType getByName(java.lang.String name)
public static LiteralType get(int value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||