org.eclipse.xtext.validation.impl
Class AssignmentQuantityAllocator
java.lang.Object
org.eclipse.xtext.validation.impl.AssignmentQuantityAllocator
- All Implemented Interfaces:
- IAssignmentQuantityAllocator
public class AssignmentQuantityAllocator
- extends java.lang.Object
- implements IAssignmentQuantityAllocator
- Author:
- Moritz Eysholdt - Initial contribution and API
Method Summary |
protected boolean |
allowTransient(org.eclipse.emf.ecore.EObject obj,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.util.Collection<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> constraint)
|
protected void |
collectAssignments(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule,
org.eclipse.emf.ecore.EObject obj,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint ele,
com.google.common.collect.Multimap<org.eclipse.emf.ecore.EStructuralFeature,IConcreteSyntaxConstraintProvider.ISyntaxConstraint> assignments,
java.util.List<IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic> acceptor)
|
protected AssignmentQuantityAllocator.Quantities |
createQuantities(org.eclipse.emf.ecore.EObject obj)
|
IAssignmentQuantityAllocator.IQuantities |
getAssignmentQuantities(org.eclipse.emf.ecore.EObject obj,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule,
java.util.List<IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic> acceptor)
|
int |
getFeatureQuantity(org.eclipse.emf.ecore.EObject obj,
org.eclipse.emf.ecore.EStructuralFeature feat)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
diagnosticProvider
@Inject
protected IConcreteSyntaxDiagnosticProvider diagnosticProvider
intervalProvider
@Inject
protected IAssignmentQuantityIntervalProvider intervalProvider
transSrvc
@Inject
protected ITransientValueService transSrvc
valueSerializer
@Inject
protected ITokenSerializer.IValueSerializer valueSerializer
AssignmentQuantityAllocator
public AssignmentQuantityAllocator()
allowTransient
protected boolean allowTransient(org.eclipse.emf.ecore.EObject obj,
org.eclipse.emf.ecore.EStructuralFeature feature,
java.util.Collection<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> constraint)
collectAssignments
protected void collectAssignments(IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule,
org.eclipse.emf.ecore.EObject obj,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint ele,
com.google.common.collect.Multimap<org.eclipse.emf.ecore.EStructuralFeature,IConcreteSyntaxConstraintProvider.ISyntaxConstraint> assignments,
java.util.List<IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic> acceptor)
createQuantities
protected AssignmentQuantityAllocator.Quantities createQuantities(org.eclipse.emf.ecore.EObject obj)
getAssignmentQuantities
public IAssignmentQuantityAllocator.IQuantities getAssignmentQuantities(org.eclipse.emf.ecore.EObject obj,
IConcreteSyntaxConstraintProvider.ISyntaxConstraint rule,
java.util.List<IConcreteSyntaxDiagnosticProvider.IConcreteSyntaxDiagnostic> acceptor)
- Specified by:
getAssignmentQuantities
in interface IAssignmentQuantityAllocator
getFeatureQuantity
public int getFeatureQuantity(org.eclipse.emf.ecore.EObject obj,
org.eclipse.emf.ecore.EStructuralFeature feat)
- Specified by:
getFeatureQuantity
in interface IAssignmentQuantityAllocator