Package | Description |
---|---|
org.eclipse.ocl.helper |
Definition of the OCL Helper API for syntax completion support and a simplified
parsing model for embedded OCL constraints and expressions.
|
org.eclipse.ocl.internal.helper | |
org.eclipse.ocl.parser |
Modifier and Type | Method and Description |
---|---|
static ConstraintKind |
ConstraintKind.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConstraintKind[] |
ConstraintKind.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
CT |
OCLHelper.createConstraint(ConstraintKind kind,
String expression)
Creates a constraint of the specified kind, by parsing the given
expression.
|
List<Choice> |
OCLSyntaxHelper.getSyntaxHelp(ConstraintKind constraintType,
String txt) |
List<Choice> |
OCLHelper.getSyntaxHelp(ConstraintKind constraintType,
String txt)
Obtains syntax completion choices for the specified fragment of an OCL
expression given that it is intended for a constraint of the specified
kind.
|
Modifier and Type | Method and Description |
---|---|
List<Choice> |
OCLSyntaxHelper.getSyntaxHelp(ConstraintKind constraintType,
String txt)
Gets syntax help choices for the specified
context
classifier or operation. |
Modifier and Type | Method and Description |
---|---|
OCLExpression<C> |
OCLAnalyzer.parseAST(OCLExpressionCS cst,
ConstraintKind constraintType)
Parses the specified concrete syntax model to an abstract syntax model.
|
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.