Package | Description |
---|---|
org.eclipse.ocl.lpg | |
org.eclipse.ocl.parser | |
org.eclipse.ocl.util |
Miscellaneous utilities in support of the OCL parser and environment
implementations.
|
Modifier and Type | Field and Description |
---|---|
static ProblemHandler.Phase |
ProblemHandler.Phase.ANALYZER
Identifies problems found in the abstract syntax parsing phase.
|
static ProblemHandler.Phase |
ProblemHandler.Phase.LEXER
Identifies problems found in the tokenizing (lexing) phase.
|
static ProblemHandler.Phase |
ProblemHandler.Phase.PARSER
Identifies problems found in the concrete syntax parsing phase.
|
static ProblemHandler.Phase |
ProblemHandler.Phase.UNPARSER
Identifies problems found in un-parsing an OCL expression or constraint.
|
static ProblemHandler.Phase |
ProblemHandler.Phase.UTILITY
Identifies problems found in a utility method (not really a parsing phase).
|
static ProblemHandler.Phase |
ProblemHandler.Phase.VALIDATOR
Identifies problems found in the abstract syntax validation phase.
|
Modifier and Type | Method and Description |
---|---|
int |
ProblemHandler.Phase.compareTo(ProblemHandler.Phase o)
Phases sort according to their names.
|
void |
AbstractProblemHandler.handleProblem(ProblemHandler.Severity problemSeverity,
ProblemHandler.Phase processingPhase,
java.lang.String problemMessage,
java.lang.String processingContext,
int startOffset,
int endOffset)
Implements the interface, invoking
addProblem with a line comprising
processingPhase-problemSeverity in processingContext; lineNumber : problemMessage . |
void |
ProblemHandler.handleProblem(ProblemHandler.Severity problemSeverity,
ProblemHandler.Phase processingPhase,
java.lang.String problemMessage,
java.lang.String processingContext,
int startOffset,
int endOffset)
Handle a problem of problemSeverity that has arisen during processingPhase and which
is explained by problemMessage optionally clarified, if non-null, by processingContext,
and if non-negative by the startOffset and endOffset character indexes in the parsing stream.
|
void |
AbstractBasicEnvironment.problem(ProblemHandler.Severity severity,
ProblemHandler.Phase phase,
java.lang.String problemMessage,
java.lang.String problemContext,
java.lang.Object problemObject) |
void |
BasicEnvironment.problem(ProblemHandler.Severity severity,
ProblemHandler.Phase phase,
java.lang.String problemMessage,
java.lang.String problemContext,
java.lang.Object problemObject)
Generically reports a problem about some object.
|
Modifier and Type | Method and Description |
---|---|
void |
OCLProblemHandler.handleProblem(ProblemHandler.Severity problemSeverity,
ProblemHandler.Phase processingPhase,
java.lang.String problemMessage,
java.lang.String processingContext,
int startOffset,
int endOffset) |
Modifier and Type | Method and Description |
---|---|
void |
ProblemHandlerWrapper.handleProblem(ProblemHandler.Severity problemSeverity,
ProblemHandler.Phase processingPhase,
java.lang.String problemMessage,
java.lang.String processingContext,
int startOffset,
int endOffset) |
void |
ProblemHandlerWrapper.Tee.handleProblem(ProblemHandler.Severity problemSeverity,
ProblemHandler.Phase processingPhase,
java.lang.String problemMessage,
java.lang.String processingContext,
int startOffset,
int endOffset) |