public static class ProblemHandler.Phase extends Object implements Comparable<ProblemHandler.Phase>
| Modifier and Type | Field and Description |
|---|---|
static ProblemHandler.Phase |
ANALYZER
Identifies problems found in the abstract syntax parsing phase.
|
static ProblemHandler.Phase |
LEXER
Identifies problems found in the tokenizing (lexing) phase.
|
static ProblemHandler.Phase |
PARSER
Identifies problems found in the concrete syntax parsing phase.
|
static ProblemHandler.Phase |
UNPARSER
Identifies problems found in un-parsing an OCL expression or constraint.
|
static ProblemHandler.Phase |
UTILITY
Identifies problems found in a utility method (not really a parsing phase).
|
static ProblemHandler.Phase |
VALIDATOR
Identifies problems found in the abstract syntax validation phase.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Phase(String lname)
Creates a new phase instance with a localized name for display in
error messages.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ProblemHandler.Phase o)
Phases sort according to their names.
|
boolean |
equals(Object obj)
I am equal to any Phase that has the same localized name
as I.
|
int |
hashCode()
My hash code is my localized name's hash code.
|
String |
toString() |
public static ProblemHandler.Phase LEXER
public static ProblemHandler.Phase PARSER
public static ProblemHandler.Phase ANALYZER
public static ProblemHandler.Phase VALIDATOR
public static ProblemHandler.Phase UTILITY
public static ProblemHandler.Phase UNPARSER
protected Phase(String lname)
lname - the localized name of the phasepublic final int compareTo(ProblemHandler.Phase o)
compareTo in interface Comparable<ProblemHandler.Phase>public final int hashCode()
public final boolean equals(Object obj)
Copyright © 2015 Open eHealth Foundation. All rights reserved.