|
|
|
|
@ -1,10 +1,10 @@
@@ -1,10 +1,10 @@
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
// <auto-generated>
|
|
|
|
|
// Dieser Code wurde von einem Tool generiert.
|
|
|
|
|
// Laufzeitversion:2.0.50727.3053
|
|
|
|
|
// This code was generated by a tool.
|
|
|
|
|
// Runtime Version:2.0.50727.3053
|
|
|
|
|
//
|
|
|
|
|
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
|
|
|
|
// der Code erneut generiert wird.
|
|
|
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
|
|
|
// the code is regenerated.
|
|
|
|
|
// </auto-generated>
|
|
|
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
@ -1579,15 +1579,15 @@ namespace ICSharpCode.NRefactory.Ast {
@@ -1579,15 +1579,15 @@ namespace ICSharpCode.NRefactory.Ast {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public bool HasRaiseRegion { |
|
|
|
|
public bool HasRemoveRegion { |
|
|
|
|
get { |
|
|
|
|
return !raiseRegion.IsNull; |
|
|
|
|
return !removeRegion.IsNull; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public bool HasRemoveRegion { |
|
|
|
|
public bool HasRaiseRegion { |
|
|
|
|
get { |
|
|
|
|
return !removeRegion.IsNull; |
|
|
|
|
return !raiseRegion.IsNull; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -2007,6 +2007,8 @@ namespace ICSharpCode.NRefactory.Ast {
@@ -2007,6 +2007,8 @@ namespace ICSharpCode.NRefactory.Ast {
|
|
|
|
|
|
|
|
|
|
string variableName; |
|
|
|
|
|
|
|
|
|
Expression loopVariableExpression; |
|
|
|
|
|
|
|
|
|
public Expression Start { |
|
|
|
|
get { |
|
|
|
|
return start; |
|
|
|
|
@ -2064,14 +2066,24 @@ namespace ICSharpCode.NRefactory.Ast {
@@ -2064,14 +2066,24 @@ namespace ICSharpCode.NRefactory.Ast {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public ForNextStatement(TypeReference typeReference, string variableName, Expression start, Expression end, Expression step, Statement embeddedStatement, List<Expression> nextExpressions) { |
|
|
|
|
TypeReference = typeReference; |
|
|
|
|
VariableName = variableName; |
|
|
|
|
Start = start; |
|
|
|
|
End = end; |
|
|
|
|
Step = step; |
|
|
|
|
EmbeddedStatement = embeddedStatement; |
|
|
|
|
NextExpressions = nextExpressions; |
|
|
|
|
public Expression LoopVariableExpression { |
|
|
|
|
get { |
|
|
|
|
return loopVariableExpression; |
|
|
|
|
} |
|
|
|
|
set { |
|
|
|
|
loopVariableExpression = value ?? Expression.Null; |
|
|
|
|
if (!loopVariableExpression.IsNull) loopVariableExpression.Parent = this; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public ForNextStatement() { |
|
|
|
|
start = Expression.Null; |
|
|
|
|
end = Expression.Null; |
|
|
|
|
step = Expression.Null; |
|
|
|
|
nextExpressions = new List<Expression>(); |
|
|
|
|
typeReference = TypeReference.Null; |
|
|
|
|
variableName = ""; |
|
|
|
|
loopVariableExpression = Expression.Null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override object AcceptVisitor(IAstVisitor visitor, object data) { |
|
|
|
|
@ -2080,7 +2092,7 @@ namespace ICSharpCode.NRefactory.Ast {
@@ -2080,7 +2092,7 @@ namespace ICSharpCode.NRefactory.Ast {
|
|
|
|
|
|
|
|
|
|
public override string ToString() { |
|
|
|
|
return string.Format("[ForNextStatement Start={0} End={1} Step={2} NextExpressions={3} TypeReference={4" + |
|
|
|
|
"} VariableName={5} EmbeddedStatement={6}]", Start, End, Step, GetCollectionString(NextExpressions), TypeReference, VariableName, EmbeddedStatement); |
|
|
|
|
"} VariableName={5} LoopVariableExpression={6} EmbeddedStatement={7}]", Start, End, Step, GetCollectionString(NextExpressions), TypeReference, VariableName, LoopVariableExpression, EmbeddedStatement); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -2428,9 +2440,9 @@ namespace ICSharpCode.NRefactory.Ast {
@@ -2428,9 +2440,9 @@ namespace ICSharpCode.NRefactory.Ast {
|
|
|
|
|
setRegion = PropertySetRegion.Null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public bool IsReadOnly { |
|
|
|
|
public bool IsWriteOnly { |
|
|
|
|
get { |
|
|
|
|
return HasGetRegion && !HasSetRegion; |
|
|
|
|
return !HasGetRegion && HasSetRegion; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -2446,9 +2458,9 @@ namespace ICSharpCode.NRefactory.Ast {
@@ -2446,9 +2458,9 @@ namespace ICSharpCode.NRefactory.Ast {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public bool IsWriteOnly { |
|
|
|
|
public bool IsReadOnly { |
|
|
|
|
get { |
|
|
|
|
return !HasGetRegion && HasSetRegion; |
|
|
|
|
return HasGetRegion && !HasSetRegion; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -3354,6 +3366,12 @@ public Location ExtendedEndLocation { get; set; }
@@ -3354,6 +3366,12 @@ public Location ExtendedEndLocation { get; set; }
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public bool IsWriteOnly { |
|
|
|
|
get { |
|
|
|
|
return !HasGetRegion && HasSetRegion; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public bool HasSetRegion { |
|
|
|
|
get { |
|
|
|
|
return !setRegion.IsNull; |
|
|
|
|
@ -3378,12 +3396,6 @@ public Location ExtendedEndLocation { get; set; }
@@ -3378,12 +3396,6 @@ public Location ExtendedEndLocation { get; set; }
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public bool IsWriteOnly { |
|
|
|
|
get { |
|
|
|
|
return !HasGetRegion && HasSetRegion; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public override object AcceptVisitor(IAstVisitor visitor, object data) { |
|
|
|
|
return visitor.VisitPropertyDeclaration(this, data); |
|
|
|
|
} |
|
|
|
|
|