/// <summary> /// Check number types. /// </summary> /// <param name="isChanged">True upon return if a number type was changed.</param> public void CheckNumberType(ref bool isChanged) { foreach (IEntityDeclaration EntityDeclaration in EntityDeclarationList) { EntityDeclaration.CheckNumberType(ref isChanged); } foreach (IInstruction Instruction in InitInstructionList) { Instruction.CheckNumberType(ref isChanged); } ((IExpression)WhileCondition).CheckNumberType(ref isChanged); foreach (IInstruction Instruction in LoopInstructionList) { Instruction.CheckNumberType(ref isChanged); } foreach (IInstruction Instruction in IterationInstructionList) { Instruction.CheckNumberType(ref isChanged); } if (Variant.IsAssigned) { ((IExpression)Variant.Item).CheckNumberType(ref isChanged); } }
/// <summary> /// Check number types. /// </summary> /// <param name="isChanged">True upon return if a number type was changed.</param> public void CheckNumberType(ref bool isChanged) { foreach (IEntityDeclaration EntityDeclaration in ParameterList) { EntityDeclaration.CheckNumberType(ref isChanged); } ((IBody)CommandBody).CheckNumberType(ref isChanged); }
/// <summary> /// Check number types. /// </summary> /// <param name="isChanged">True upon return if a number type was changed.</param> public void CheckNumberType(ref bool isChanged) { foreach (IEntityDeclaration EntityDeclaration in EntityDeclarationList) { EntityDeclaration.CheckNumberType(ref isChanged); } foreach (IInstruction Instruction in BodyInstructionList) { Instruction.CheckNumberType(ref isChanged); } }
/// <summary> /// Check number types. /// </summary> /// <param name="isChanged">True upon return if a number type was changed.</param> public void CheckNumberType(ref bool isChanged) { foreach (IEntityDeclaration EntityDeclaration in ParameterList) { EntityDeclaration.CheckNumberType(ref isChanged); } foreach (IEntityDeclaration EntityDeclaration in ResultList) { EntityDeclaration.CheckNumberType(ref isChanged); } if (Variant.IsAssigned) { ((IExpression)Variant).CheckNumberType(ref isChanged); } ((IBody)QueryBody).CheckNumberType(ref isChanged); }