org.eclipse.xtext.validation
Interface IConcreteSyntaxDiagnosticProvider

All Known Implementing Classes:
ConcreteSyntaxDiagnosticProvider

public interface IConcreteSyntaxDiagnosticProvider

Author:
Moritz Eysholdt - Initial contribution and API

Nested Class Summary
static interface IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic
           
 
Field Summary
static int ERROR_ASSIGNMENT_MISSING
           
static int ERROR_ASSIGNMENT_PROHIBITED
           
static int ERROR_FEATURE_MISSING
           
static int ERROR_LIST_TOO_FEW
           
static int ERROR_LIST_TOO_MANY
           
static int ERROR_LIST_UNDECIDEABLE
           
static int ERROR_VALUE_PROHIBITED
           
static int ERROR_VALUE_REQUIRED
           
static int ERROR_WRONG_TYPE
           
 
Method Summary
 IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic createAssignmentMissingDiagnostic(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule, org.eclipse.emf.ecore.EObject source, org.eclipse.emf.ecore.EStructuralFeature feature, java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
           
 IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic createFeatureMissingDiagnostic(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule, org.eclipse.emf.ecore.EObject source, IConcreteSyntaxConstraintProvider.ISyntaxConstraint element, java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
           
 IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic createFeatureQuantityDiagnostic(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule, IAssignmentQuantityAllocator.IQuantities source, org.eclipse.emf.ecore.EStructuralFeature feature, int actual, int min, int max, java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
           
 IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic createUnexpectedTypeDiagnostic(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule, org.eclipse.emf.ecore.EObject source, java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)
           
 

Field Detail

ERROR_ASSIGNMENT_MISSING

static final int ERROR_ASSIGNMENT_MISSING
See Also:
Constant Field Values

ERROR_ASSIGNMENT_PROHIBITED

static final int ERROR_ASSIGNMENT_PROHIBITED
See Also:
Constant Field Values

ERROR_FEATURE_MISSING

static final int ERROR_FEATURE_MISSING
See Also:
Constant Field Values

ERROR_LIST_TOO_FEW

static final int ERROR_LIST_TOO_FEW
See Also:
Constant Field Values

ERROR_LIST_TOO_MANY

static final int ERROR_LIST_TOO_MANY
See Also:
Constant Field Values

ERROR_LIST_UNDECIDEABLE

static final int ERROR_LIST_UNDECIDEABLE
See Also:
Constant Field Values

ERROR_VALUE_PROHIBITED

static final int ERROR_VALUE_PROHIBITED
See Also:
Constant Field Values

ERROR_VALUE_REQUIRED

static final int ERROR_VALUE_REQUIRED
See Also:
Constant Field Values

ERROR_WRONG_TYPE

static final int ERROR_WRONG_TYPE
See Also:
Constant Field Values
Method Detail

createAssignmentMissingDiagnostic

IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic createAssignmentMissingDiagnostic(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule,
                                                                                              org.eclipse.emf.ecore.EObject source,
                                                                                              org.eclipse.emf.ecore.EStructuralFeature feature,
                                                                                              java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)

createFeatureMissingDiagnostic

IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic createFeatureMissingDiagnostic(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule,
                                                                                           org.eclipse.emf.ecore.EObject source,
                                                                                           IConcreteSyntaxConstraintProvider.ISyntaxConstraint element,
                                                                                           java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)

createFeatureQuantityDiagnostic

IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic createFeatureQuantityDiagnostic(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule,
                                                                                            IAssignmentQuantityAllocator.IQuantities source,
                                                                                            org.eclipse.emf.ecore.EStructuralFeature feature,
                                                                                            int actual,
                                                                                            int min,
                                                                                            int max,
                                                                                            java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)

createUnexpectedTypeDiagnostic

IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic createUnexpectedTypeDiagnostic(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule,
                                                                                           org.eclipse.emf.ecore.EObject source,
                                                                                           java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> involved)