Skip to main content
summaryrefslogtreecommitdiffstats
blob: ae1a653f14e70b9a0dda1f69db438dc14fed0781 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package org.eclipse.papyrus.alf.syntax.expressions;

import java.util.ArrayList;
import java.util.List;

import org.eclipse.papyrus.alf.syntax.common.AssignedSource;

public abstract class SequenceExpansionExpression extends Expression {
	
	// Synthesized Properties
	public Expression argument ;
	public String operation ;
	public ExtentOrExpression primary ; 
	public String variable ;
	
	// Derived Properties
	public AssignedSource variableSource ;
	
	// Constraints
	
	/*
	 * The assignments before the argument expression of a sequence expansion expression include those after
	 * 	the primary expression plus one for the expansion variable.
	 */
	public void checkSequenceExpansionExpressionAssignmentsBeforeArgument() {
		
	}
	
	/*
	 * The assignments before the primary expression of a sequence expansion expression are the same as the
	 * 	assignments before the sequence expansion expression.
	 */
	public void checkSequenceExpansionExpressionAssignmentsBeforePrimary() {
		
	}
	
	/*
	 * The expansion variable may not be assigned within the argument expression.
	 */
	public void checkSequenceExpansionExpressionVariableAssignment() {
		
	}
	
	/*
	 * The expansion variable name may not conflict with any name already assigned after the primary
	 * 	expression.
	 */
	public void checkSequenceExpansionExpressionVariableName() {
		
	}
	
	/*
	 * The assigned source for the expansion variable of a sequence expansion expression is the expression
	 * 	itself.
	 */
	public void checkSequenceExpansionExpressionVariableSourceDerivation() {
		
	}
	
	
	//Helper Operations
	/*
	 * The assignments after a sequence expansion expression are the same as after its primary expression.
	 */
	public List<AssignedSource> updateAssignments() {
		return new ArrayList<AssignedSource>() ;
	}

}

Back to the top