Package 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.

See: Description

Package org.eclipse.ocl.helper Description

Definition of the OCL Helper API for syntax completion support and a simplified parsing model for embedded OCL constraints and expressions.

Package Specification

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 Choices, 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.