@Deprecated public class GenericSemanticSequencer extends AbstractSemanticSequencer
| Modifier and Type | Class and Description |
|---|---|
protected class |
GenericSemanticSequencer.Allocation
Deprecated.
|
protected class |
GenericSemanticSequencer.AllocationValue
Deprecated.
|
protected class |
GenericSemanticSequencer.AlternativeAllocation
Deprecated.
|
protected class |
GenericSemanticSequencer.Feature2Assignment
Deprecated.
|
protected class |
GenericSemanticSequencer.GroupAllocation
Deprecated.
|
protected class |
GenericSemanticSequencer.MVFeature2AssignmentAmbiguous
Deprecated.
|
protected class |
GenericSemanticSequencer.MVFeature2AssignmentUnambiguous
Deprecated.
|
protected static class |
GenericSemanticSequencer.Quantity
Deprecated.
|
protected class |
GenericSemanticSequencer.SVFeature2Assignment
Deprecated.
|
protected class |
GenericSemanticSequencer.SVFeature2AssignmentAmbiguous
Deprecated.
|
protected class |
GenericSemanticSequencer.SVFeature2AssignmentUnambiguous
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected IAssignmentFinder |
assignmentFinder
Deprecated.
|
protected List<IGrammarConstraintProvider.IConstraintContext> |
constraintContexts
Deprecated.
|
protected Map<Pair<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EClass>,IGrammarConstraintProvider.IConstraint> |
constraints
Deprecated.
|
protected ICrossReferenceSerializer |
crossRefSerializer
Deprecated.
|
protected IEnumLiteralSerializer |
enumLiteralSerializer
Deprecated.
|
protected IGrammarAccess |
grammarAccess
Deprecated.
|
protected IGrammarConstraintProvider |
grammarConstraintProvider
Deprecated.
|
protected IKeywordSerializer |
keywordSerializer
Deprecated.
|
static int |
MAX
Deprecated.
|
protected static int |
NO_ASSIGNMENT
Deprecated.
|
protected ITransientValueService |
transientValueService
Deprecated.
|
static int |
UNDEF
Deprecated.
|
protected static int |
UNDEFINED_QUANTITY
Deprecated.
|
protected IValueSerializer |
valueSerializer
Deprecated.
|
diagnosticProvider, errorAcceptor, feederProvider, masterSequencer, nodeProvider, sequenceAcceptor, transientValues| Constructor and Description |
|---|
GenericSemanticSequencer()
Deprecated.
|
createNodeProvider, createSequencerFeeder, createSequencerFeeder, init, init, setMasterSequencerpublic static final int MAX
protected static final int NO_ASSIGNMENT
public static final int UNDEF
protected static final int UNDEFINED_QUANTITY
protected List<IGrammarConstraintProvider.IConstraintContext> constraintContexts
protected Map<Pair<org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EClass>,IGrammarConstraintProvider.IConstraint> constraints
@Inject protected ICrossReferenceSerializer crossRefSerializer
@Inject protected IEnumLiteralSerializer enumLiteralSerializer
@Inject protected IGrammarAccess grammarAccess
@Inject protected IGrammarConstraintProvider grammarConstraintProvider
@Inject protected IKeywordSerializer keywordSerializer
@Inject protected ITransientValueService transientValueService
@Inject protected IValueSerializer valueSerializer
@Inject protected IAssignmentFinder assignmentFinder
protected void acceptAction(Action action, org.eclipse.emf.ecore.EObject semanticChild, ICompositeNode node)
protected void acceptEObjectRuleCall(RuleCall ruleCall, org.eclipse.emf.ecore.EObject semanticChild, ICompositeNode node)
protected boolean acceptSemantic(org.eclipse.emf.ecore.EObject semanticObj,
IGrammarConstraintProvider.IConstraintElement constr,
Object value,
int index,
INode node)
protected boolean containsUnavailableFeature(GenericSemanticSequencer.Feature2Assignment[] values, IGrammarConstraintProvider.IConstraintElement element, IGrammarConstraintProvider.IConstraintElement excludeAssignment)
public void createSequence(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EObject semanticObject)
protected List<? extends GenericSemanticSequencer.Allocation> createUnambiguousAllocation(IGrammarConstraintProvider.IConstraintElement constraint, GenericSemanticSequencer.Feature2Assignment[] values)
protected GenericSemanticSequencer.Feature2Assignment[] createValues(org.eclipse.emf.ecore.EObject semanticObject, IGrammarConstraintProvider.IConstraint constraint, ISemanticNodeProvider.INodesForEObjectProvider nodes)
protected void createValues(org.eclipse.emf.ecore.EObject semanticObj,
IGrammarConstraintProvider.IFeatureInfo feature,
boolean optional,
GenericSemanticSequencer.AllocationValue value,
GenericSemanticSequencer.Feature2Assignment[] target)
protected void createValues(org.eclipse.emf.ecore.EObject semanticObj,
IGrammarConstraintProvider.IFeatureInfo feature,
List<GenericSemanticSequencer.AllocationValue> values,
GenericSemanticSequencer.Feature2Assignment[] target)
protected void distributeValuesByQuantity(List<IGrammarConstraintProvider.IConstraintElement> assignments, List<GenericSemanticSequencer.AllocationValue> values, GenericSemanticSequencer.Feature2Assignment[] target)
protected String f2aToStr(IGrammarConstraintProvider.IConstraintElement ele, GenericSemanticSequencer.Feature2Assignment[] values)
protected void f2aToStr(IGrammarConstraintProvider.IConstraintElement ele, GenericSemanticSequencer.Feature2Assignment[] values, String prefix, StringBuilder result)
protected List<IGrammarConstraintProvider.IConstraintElement> findValidAssignments(org.eclipse.emf.ecore.EObject semanticObj, IGrammarConstraintProvider.IConstraintElement[] assignments, GenericSemanticSequencer.AllocationValue value)
protected List<IGrammarConstraintProvider.IConstraintElement> findValidAssignments(org.eclipse.emf.ecore.EObject semanticObj, List<IGrammarConstraintProvider.IConstraintElement> assignments, List<GenericSemanticSequencer.AllocationValue> values)
protected IGrammarConstraintProvider.IConstraint getConstraint(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EClass type)
protected List<GenericSemanticSequencer.AllocationValue> getNonTransientValuesForMVFeature(org.eclipse.emf.ecore.EObject semanticObject, IGrammarConstraintProvider.IFeatureInfo feature, ISemanticNodeProvider.INodesForEObjectProvider nodes)
protected void initConstraints()
protected boolean isAmbiguous(GenericSemanticSequencer.Feature2Assignment[] allocations)
protected boolean isExcludedByDependees(IGrammarConstraintProvider.IConstraintElement assignments, GenericSemanticSequencer.Feature2Assignment[] target)
Copyright © 2015. All Rights Reserved.