Modifier and Type | Field and Description |
---|---|
protected java.util.Set<CGVariable> |
FieldingAnalyzer.RewriteVisitor.externalVariables |
Modifier and Type | Method and Description |
---|---|
CGVariable |
AS2CGVisitor.basicGetParameter(Variable aParameter) |
CGVariable |
AS2CGVisitor.createCGVariable(VariableDeclaration asVariable) |
protected CGVariable |
AS2CGVisitor.createCGVariable(Variable contextVariable,
OCLExpression source) |
CGVariable |
AS2CGVisitor.getLocalVariable(VariableDeclaration asVariable) |
CGVariable |
AS2CGVisitor.Variables.getLocalVariable(VariableDeclaration asVariable) |
CGVariable |
AS2CGVisitor.getVariable(VariableDeclaration asVariable) |
CGVariable |
AS2CGVisitor.Variables.getVariable(VariableDeclaration asVariable) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<CGVariable> |
FieldingAnalyzer.AnalysisVisitor.visitCGElement(CGElement cgElement)
By default all externals of all children are externals of this node.
|
java.util.Set<CGVariable> |
FieldingAnalyzer.AnalysisVisitor.visitCGIsInvalidExp(CGIsInvalidExp cgElement)
All childExternals of a validating operation are marked as caught variables.
|
java.util.Set<CGVariable> |
FieldingAnalyzer.AnalysisVisitor.visitCGIsUndefinedExp(CGIsUndefinedExp cgElement)
All childExternals of a validating operation are marked as caught variables.
|
java.util.Set<CGVariable> |
FieldingAnalyzer.AnalysisVisitor.visitCGLetExp(CGLetExp cgElement)
The externals of a LetExp are the externals of the children less the let variable.
|
java.util.Set<CGVariable> |
FieldingAnalyzer.AnalysisVisitor.visitCGOperationCallExp(CGOperationCallExp cgElement)
All childExternals of a validating operation are marked as caught variables.
|
java.util.Set<CGVariable> |
FieldingAnalyzer.AnalysisVisitor.visitCGVariable(CGVariable cgElement)
The externals of a VariableExp are the externals of the referenced variable.
|
java.util.Set<CGVariable> |
FieldingAnalyzer.AnalysisVisitor.visitCGVariableExp(CGVariableExp cgElement)
The externals of a VariableExp are the externals of the referenced variable.
|
java.util.Set<CGVariable> |
FieldingAnalyzer.AnalysisVisitor.visiting(CGElement visitable) |
Modifier and Type | Method and Description |
---|---|
void |
AS2CGVisitor.Variables.putVariable(VariableDeclaration asVariable,
CGVariable cgVariable) |
java.lang.Object |
AnalysisVisitor.visitCGVariable(CGVariable cgVariable) |
java.lang.String |
CG2StringVisitor.visitCGVariable(CGVariable cgElement) |
java.lang.Object |
DependencyVisitor.visitCGVariable(CGVariable cgVariable) |
java.util.Set<CGVariable> |
FieldingAnalyzer.AnalysisVisitor.visitCGVariable(CGVariable cgElement)
The externals of a VariableExp are the externals of the referenced variable.
|
java.lang.Boolean |
FieldingAnalyzer.RewriteVisitor.visitCGVariable(CGVariable cgElement) |
Modifier and Type | Method and Description |
---|---|
protected FieldingAnalyzer.RewriteVisitor |
FieldingAnalyzer.createRewriteVisitor(java.util.Set<CGVariable> caughtVariables) |
void |
FieldingAnalyzer.setCaught(java.util.Set<CGVariable> catchers) |
Constructor and Description |
---|
RewriteVisitor(CodeGenAnalyzer context,
java.util.Set<CGVariable> externalVariables) |
Modifier and Type | Interface and Description |
---|---|
interface |
CGAccumulator
A representation of the model object 'CG Accumulator'.
|
interface |
CGFinalVariable
A representation of the model object 'CG Final Variable'.
|
interface |
CGIterator
A representation of the model object 'CG Iterator'.
|
interface |
CGLocalVariable
A representation of the model object 'CG Variable'.
|
interface |
CGParameter
A representation of the model object 'CG Parameter'.
|
interface |
CGSettableVariable
A representation of the model object 'CG Settable Variable'.
|
Modifier and Type | Method and Description |
---|---|
CGVariable |
CGLetExp.getInit()
Returns the value of the 'Init' containment reference.
|
CGVariable |
CGVariableExp.getReferredVariable()
Returns the value of the 'Referred Variable' reference.
|
Modifier and Type | Method and Description |
---|---|
void |
CGLetExp.setInit(CGVariable value)
Sets the value of the '
Init ' containment reference. |
void |
CGVariableExp.setReferredVariable(CGVariable value)
Sets the value of the '
Referred Variable ' reference. |
Modifier and Type | Class and Description |
---|---|
class |
CGAccumulatorImpl
An implementation of the model object 'CG Accumulator'.
|
class |
CGFinalVariableImpl
An implementation of the model object 'CG Final Variable'.
|
class |
CGIteratorImpl
An implementation of the model object 'CG Iterator'.
|
class |
CGLocalVariableImpl
An implementation of the model object 'CG Local Variable'.
|
class |
CGParameterImpl
An implementation of the model object 'CG Parameter'.
|
class |
CGSettableVariableImpl
An implementation of the model object 'CG Settable Variable'.
|
class |
CGVariableImpl
An implementation of the model object 'CG Variable'.
|
Modifier and Type | Field and Description |
---|---|
protected CGVariable |
CGLetExpImpl.init
The cached value of the '
Init ' containment reference. |
protected CGVariable |
CGVariableExpImpl.referredVariable
The cached value of the '
Referred Variable ' reference. |
Modifier and Type | Method and Description |
---|---|
CGVariable |
CGLetExpImpl.getInit() |
CGVariable |
CGVariableExpImpl.getReferredVariable() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.notify.NotificationChain |
CGLetExpImpl.basicSetInit(CGVariable newInit,
org.eclipse.emf.common.notify.NotificationChain msgs) |
void |
CGLetExpImpl.setInit(CGVariable newInit) |
void |
CGVariableExpImpl.setReferredVariable(CGVariable newReferredVariable) |
Modifier and Type | Method and Description |
---|---|
T |
CGModelSwitch.caseCGVariable(CGVariable object)
Returns the result of interpreting the object as an instance of 'CG Variable'.
|
R |
AbstractExtendingCGModelVisitor.visitCGVariable(CGVariable object) |
R |
AbstractNonNullExtendingCGModelVisitor.visitCGVariable(CGVariable object)
Deprecated.
|
R |
AbstractNullCGModelVisitor.visitCGVariable(CGVariable object)
Deprecated.
|
R |
CGModelVisitor.visitCGVariable(CGVariable object) |
Modifier and Type | Method and Description |
---|---|
protected CGLetExp |
CommonAnalysis.rewriteAsLet(CGValuedElement cgIn,
CGVariable cgVariable)
Insert a CGLetExp above cgIn for cgCSE.
|
protected void |
CommonAnalysis.rewriteAsVariableExp(CGValuedElement cgElement,
CGVariable cgVariable) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
CG2JavaVisitor.visitCGVariable(CGVariable cgVariable) |
Modifier and Type | Method and Description |
---|---|
static CGValuedElement |
CGUtil.getInit(CGVariable cgVariable) |