|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
Choice | Description of a syntax completion choice. |
OCLHelper<C,O,P,CT> | A utility object that provides OCL syntax completion suggestions for OCL expressions and convenient API for parsing OCL constraint expressions without the encumbrance of context declarations. |
Enum Summary | |
---|---|
ChoiceKind | An enumeration of OCL syntax completion choice types. |
ConstraintKind | An enumeration of OCL constraint types, primarily for determining the appropriate choices for syntax completion and for generic helper-based parsing. |
Definition of the OCL Helper API for syntax completion support and a simplified parsing model for embedded OCL constraints and expressions.
The primary interface in this package is the
OCLHelper
, which provides OCL syntax
completion assistance and parsing support. Instances are obtained from the
OCL
class.
OCL code completion suggestions are represented as
Choice
s, which indicate the name of a
language construct, a description, and the
kind of construct.
The OCLHelper
also provides a simple API for parsing constraints
and expressions embedded in models:
The helper also supports the simultaneous definition and value binding of "global" variables, to support injection of custom variables into OCL expressions.
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |