• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Ast.PropertySetRegion类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中ICSharpCode.NRefactory.Ast.PropertySetRegion的典型用法代码示例。如果您正苦于以下问题:C# PropertySetRegion类的具体用法?C# PropertySetRegion怎么用?C# PropertySetRegion使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



PropertySetRegion类属于ICSharpCode.NRefactory.Ast命名空间,在下文中一共展示了PropertySetRegion类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: VisitPropertySetRegion

 public override object VisitPropertySetRegion(PropertySetRegion propertySetRegion, object data)
 {
     collectingUsedLabels = true;
     base.VisitPropertySetRegion(propertySetRegion, data);
     collectingUsedLabels = false;
     return base.VisitPropertySetRegion(propertySetRegion, data);
 }
开发者ID:almazik,项目名称:ILSpy,代码行数:7,代码来源:RemoveDeadLabels.cs


示例2: VisitPropertySetRegion

		public override object VisitPropertySetRegion(PropertySetRegion propertySetRegion, object data)
		{
			return base.VisitPropertySetRegion(propertySetRegion, data);
		}
开发者ID:hpsa,项目名称:SharpDevelop,代码行数:4,代码来源:NRefactoryAstVisitor.cs


示例3: AccessorDecls

	void AccessorDecls(
//#line  1372 "VBNET.ATG" 
out PropertyGetRegion getBlock, out PropertySetRegion setBlock) {

//#line  1374 "VBNET.ATG" 
		List<AttributeSection> attributes = new List<AttributeSection>();
		AttributeSection section;
		getBlock = null;
		setBlock = null; 
		
		while (la.kind == 40) {
			AttributeSection(
//#line  1379 "VBNET.ATG" 
out section);

//#line  1379 "VBNET.ATG" 
			attributes.Add(section); 
		}
		if (StartOf(25)) {
			GetAccessorDecl(
//#line  1381 "VBNET.ATG" 
out getBlock, attributes);
			if (StartOf(26)) {

//#line  1383 "VBNET.ATG" 
				attributes = new List<AttributeSection>(); 
				while (la.kind == 40) {
					AttributeSection(
//#line  1384 "VBNET.ATG" 
out section);

//#line  1384 "VBNET.ATG" 
					attributes.Add(section); 
				}
				SetAccessorDecl(
//#line  1385 "VBNET.ATG" 
out setBlock, attributes);
			}
		} else if (StartOf(27)) {
			SetAccessorDecl(
//#line  1388 "VBNET.ATG" 
out setBlock, attributes);
			if (StartOf(28)) {

//#line  1390 "VBNET.ATG" 
				attributes = new List<AttributeSection>(); 
				while (la.kind == 40) {
					AttributeSection(
//#line  1391 "VBNET.ATG" 
out section);

//#line  1391 "VBNET.ATG" 
					attributes.Add(section); 
				}
				GetAccessorDecl(
//#line  1392 "VBNET.ATG" 
out getBlock, attributes);
			}
		} else SynErr(272);
	}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:60,代码来源:Parser.cs


示例4: VisitPropertySetRegion

		public sealed override object VisitPropertySetRegion(PropertySetRegion propertySetRegion, object data) {
			this.BeginVisit(propertySetRegion);
			object result = this.TrackedVisitPropertySetRegion(propertySetRegion, data);
			this.EndVisit(propertySetRegion);
			return result;
		}
开发者ID:transformersprimeabcxyz,项目名称:monodevelop-1,代码行数:6,代码来源:NodeTrackingAstVisitor.cs


示例5: VisitPropertySetRegion

		public virtual object VisitPropertySetRegion(PropertySetRegion propertySetRegion, object data) {
			throw new global::System.NotImplementedException("PropertySetRegion");
		}
开发者ID:Altaxo,项目名称:Altaxo,代码行数:3,代码来源:NotImplementedAstVisitor.cs


示例6: AccessorDecls

	void AccessorDecls(
#line  1315 "VBNET.ATG" 
out PropertyGetRegion getBlock, out PropertySetRegion setBlock) {

#line  1317 "VBNET.ATG" 
		List<AttributeSection> attributes = new List<AttributeSection>();
		AttributeSection section;
		getBlock = null;
		setBlock = null; 
		
		while (la.kind == 28) {
			AttributeSection(
#line  1322 "VBNET.ATG" 
out section);

#line  1322 "VBNET.ATG" 
			attributes.Add(section); 
		}
		if (StartOf(24)) {
			GetAccessorDecl(
#line  1324 "VBNET.ATG" 
out getBlock, attributes);
			if (StartOf(25)) {

#line  1326 "VBNET.ATG" 
				attributes = new List<AttributeSection>(); 
				while (la.kind == 28) {
					AttributeSection(
#line  1327 "VBNET.ATG" 
out section);

#line  1327 "VBNET.ATG" 
					attributes.Add(section); 
				}
				SetAccessorDecl(
#line  1328 "VBNET.ATG" 
out setBlock, attributes);
			}
		} else if (StartOf(26)) {
			SetAccessorDecl(
#line  1331 "VBNET.ATG" 
out setBlock, attributes);
			if (StartOf(27)) {

#line  1333 "VBNET.ATG" 
				attributes = new List<AttributeSection>(); 
				while (la.kind == 28) {
					AttributeSection(
#line  1334 "VBNET.ATG" 
out section);

#line  1334 "VBNET.ATG" 
					attributes.Add(section); 
				}
				GetAccessorDecl(
#line  1335 "VBNET.ATG" 
out getBlock, attributes);
			}
		} else SynErr(251);
	}
开发者ID:Adam-Fogle,项目名称:agentralphplugin,代码行数:60,代码来源:Parser.cs


示例7: SetAccessorDecl

	void SetAccessorDecl(
#line  1245 "cs.ATG" 
out PropertySetRegion setBlock, List<AttributeSection> attributes) {

#line  1246 "cs.ATG" 
		BlockStatement stmt = null; 
		Expect(129);

#line  1249 "cs.ATG" 
		Location startLocation = t.Location; 
		if (la.kind == 16) {
			Block(
#line  1250 "cs.ATG" 
out stmt);
		} else if (la.kind == 11) {
			lexer.NextToken();
		} else SynErr(190);

#line  1251 "cs.ATG" 
		setBlock = new PropertySetRegion(stmt, attributes); 

#line  1252 "cs.ATG" 
		setBlock.StartLocation = startLocation; setBlock.EndLocation = t.EndLocation; 
	}
开发者ID:pluraldj,项目名称:SharpDevelop,代码行数:24,代码来源:Parser.cs


示例8: AccessorDecls

	void AccessorDecls(
#line  1202 "cs.ATG" 
out PropertyGetRegion getBlock, out PropertySetRegion setBlock) {

#line  1204 "cs.ATG" 
		List<AttributeSection> attributes = new List<AttributeSection>(); 
		AttributeSection section;
		getBlock = null;
		setBlock = null; 
		ModifierList modifiers = null;
		
		while (la.kind == 18) {
			AttributeSection(
#line  1211 "cs.ATG" 
out section);

#line  1211 "cs.ATG" 
			attributes.Add(section); 
		}
		if (la.kind == 84 || la.kind == 96 || la.kind == 97) {
			AccessorModifiers(
#line  1212 "cs.ATG" 
out modifiers);
		}
		if (la.kind == 128) {
			GetAccessorDecl(
#line  1214 "cs.ATG" 
out getBlock, attributes);

#line  1215 "cs.ATG" 
			if (modifiers != null) {getBlock.Modifier = modifiers.Modifier; } 
			if (StartOf(26)) {

#line  1216 "cs.ATG" 
				attributes = new List<AttributeSection>(); modifiers = null; 
				while (la.kind == 18) {
					AttributeSection(
#line  1217 "cs.ATG" 
out section);

#line  1217 "cs.ATG" 
					attributes.Add(section); 
				}
				if (la.kind == 84 || la.kind == 96 || la.kind == 97) {
					AccessorModifiers(
#line  1218 "cs.ATG" 
out modifiers);
				}
				SetAccessorDecl(
#line  1219 "cs.ATG" 
out setBlock, attributes);

#line  1220 "cs.ATG" 
				if (modifiers != null) {setBlock.Modifier = modifiers.Modifier; } 
			}
		} else if (la.kind == 129) {
			SetAccessorDecl(
#line  1223 "cs.ATG" 
out setBlock, attributes);

#line  1224 "cs.ATG" 
			if (modifiers != null) {setBlock.Modifier = modifiers.Modifier; } 
			if (StartOf(27)) {

#line  1225 "cs.ATG" 
				attributes = new List<AttributeSection>(); modifiers = null; 
				while (la.kind == 18) {
					AttributeSection(
#line  1226 "cs.ATG" 
out section);

#line  1226 "cs.ATG" 
					attributes.Add(section); 
				}
				if (la.kind == 84 || la.kind == 96 || la.kind == 97) {
					AccessorModifiers(
#line  1227 "cs.ATG" 
out modifiers);
				}
				GetAccessorDecl(
#line  1228 "cs.ATG" 
out getBlock, attributes);

#line  1229 "cs.ATG" 
				if (modifiers != null) {getBlock.Modifier = modifiers.Modifier; } 
			}
		} else if (StartOf(18)) {
			Identifier();

#line  1231 "cs.ATG" 
			Error("get or set accessor declaration expected"); 
		} else SynErr(186);
	}
开发者ID:pluraldj,项目名称:SharpDevelop,代码行数:93,代码来源:Parser.cs


示例9: VisitPropertySetRegion

		public object VisitPropertySetRegion(PropertySetRegion propertySetRegion, object data)
		{
			throw new ApplicationException("PropertySetRegion visited.");
		}
开发者ID:Bombadil77,项目名称:SharpDevelop,代码行数:4,代码来源:ConvertVisitorTypeMembers.cs


示例10: PropertyDeclaration

		public PropertyDeclaration(Modifiers modifier, List<AttributeSection> attributes, string name, List<ParameterDeclarationExpression> parameters) : 
				base(modifier, attributes, name, parameters) {
			interfaceImplementations = new List<InterfaceImplementation>();
			typeReference = TypeReference.Null;
			bodyStart = Location.Empty;
			bodyEnd = Location.Empty;
			getRegion = PropertyGetRegion.Null;
			setRegion = PropertySetRegion.Null;
		}
开发者ID:xuchuansheng,项目名称:GenXSource,代码行数:9,代码来源:Generated.cs


示例11: PerformChanges

		public override List<Change> PerformChanges (RefactoringOptions options, object prop)
		{
			List<Change> result = new List<Change> ();
			TextEditorData data = options.GetTextEditorData ();
			MemberResolveResult resolveResult = options.ResolveResult as MemberResolveResult;
			IProperty property = resolveResult.ResolvedMember as IProperty;
			INRefactoryASTProvider astProvider = options.GetASTProvider ();
			string backingStoreName = RetrieveBackingStore (options, astProvider, property);
			
			int backinStoreStart;
			int backinStoreEnd;
			IField backingStore = GetBackingStoreField (options, backingStoreName, out backinStoreStart, out backinStoreEnd);
			
			if (backingStore != null) {
				foreach (MemberReference memberRef in ReferenceFinder.FindReferences (backingStore)) {
					result.Add (new TextReplaceChange () {
						FileName = memberRef.FileName,
						Offset = memberRef.Position,
						RemovedChars = memberRef.Name.Length,
						InsertedText = property.Name
					});
				}
				
				result.RemoveAll (c => backinStoreStart <= ((TextReplaceChange)c).Offset  && ((TextReplaceChange)c).Offset <= backinStoreEnd);
				result.Add (new TextReplaceChange () {
					FileName = options.Document.FileName,
					Offset = backinStoreStart,
					RemovedChars = backinStoreEnd - backinStoreStart
				});
			}
			
			if (property.HasGet) {
				int startOffset = data.Document.LocationToOffset (property.GetRegion.Start.ToDocumentLocation (data.Document));
				int endOffset = data.Document.LocationToOffset (property.GetRegion.End.ToDocumentLocation (data.Document));
				
				string text = astProvider.OutputNode (options.Dom, new PropertyGetRegion (null, null), options.GetIndent (property) + "\t").Trim ();
				
				result.RemoveAll (c => startOffset <= ((TextReplaceChange)c).Offset  && ((TextReplaceChange)c).Offset <= endOffset);
				result.Add (new TextReplaceChange () {
					FileName = options.Document.FileName,
					Offset = startOffset,
					RemovedChars = endOffset - startOffset,
					InsertedText = text
				});
			}
			
			int setStartOffset;
			int setEndOffset;
			PropertySetRegion setRegion = new PropertySetRegion (null, null);
			string setText;
			if (property.HasSet) {
				setStartOffset = data.Document.LocationToOffset (property.SetRegion.Start.ToDocumentLocation (data.Document));
				setEndOffset = data.Document.LocationToOffset (property.SetRegion.End.ToDocumentLocation (data.Document));
				setText = astProvider.OutputNode (options.Dom, setRegion, options.GetIndent (property) + "\t").Trim ();
			} else {
				setEndOffset = setStartOffset = data.Document.LocationToOffset (property.GetRegion.End.ToDocumentLocation (data.Document));
				setRegion.Modifier = ICSharpCode.NRefactory.Ast.Modifiers.Private;
				setText = Environment.NewLine + astProvider.OutputNode (options.Dom, setRegion, options.GetIndent (property) + "\t").TrimEnd ();
			}
			result.RemoveAll (c => setStartOffset <= ((TextReplaceChange)c).Offset  && ((TextReplaceChange)c).Offset <= setEndOffset);
			result.Add (new TextReplaceChange () {
				FileName = options.Document.FileName,
				Offset = setStartOffset,
				RemovedChars = setEndOffset - setStartOffset,
				InsertedText = setText
			});
			return result;
		}
开发者ID:stewartwhaley,项目名称:monodevelop,代码行数:68,代码来源:RemoveBackingStore.cs


示例12: VisitPropertySetRegion

 public virtual bool VisitPropertySetRegion(PropertySetRegion propertySetRegion, object d)
 {
     if ((propertySetRegion == null)) {
         return SetFailure();
     }
     if ((d == null)) {
         return SetFailure();
     }
     if ((propertySetRegion.Attributes == null)) {
         return SetFailure();
     }
     if ((propertySetRegion.Block == null)) {
         return SetFailure();
     }
     if ((propertySetRegion.Parameters == null)) {
         return SetFailure();
     }
     if(propertySetRegion.GetType() != d.GetType()) {return SetFailure();}
     var data = (PropertySetRegion)d;
     if (!IsMatch(propertySetRegion, data)) {
         return SetFailure();
     }
     if (propertySetRegion.Attributes.Count == data.Attributes.Count) {
     for (int i=0; i<propertySetRegion.Attributes.Count;i++) {
         AttributeSection o = propertySetRegion.Attributes[i];
         if(o == null){return SetFailure();}
         if((bool)o.AcceptVisitor(this, data.Attributes[i]) == false) return SetFailure();
     }			}			else { return SetFailure(); }
     propertySetRegion.Block.AcceptVisitor(this, data.Block);
     if (propertySetRegion.Parameters.Count == data.Parameters.Count) {
     for (int i=0; i<propertySetRegion.Parameters.Count;i++) {
         ParameterDeclarationExpression o = propertySetRegion.Parameters[i];
         if(o == null){return SetFailure();}
         if((bool)o.AcceptVisitor(this, data.Parameters[i]) == false) return SetFailure();
     }			}			else { return SetFailure(); }
     return true;
 }
开发者ID:jbuedel,项目名称:AgentRalphPlugin,代码行数:37,代码来源:AstComparisonVisitor.Generated.cs


示例13: TrackedVisitPropertySetRegion

		public override object TrackedVisitPropertySetRegion(PropertySetRegion propertySetRegion, object data)
		{
			return null;
		}
开发者ID:Bombadil77,项目名称:SharpDevelop,代码行数:4,代码来源:NRefactoryToRubyConverter.cs


示例14: AccessorDecls

	void AccessorDecls(
//#line  1182 "cs.ATG" 
out PropertyGetRegion getBlock, out PropertySetRegion setBlock) {

//#line  1184 "cs.ATG" 
		List<AttributeSection> attributes = new List<AttributeSection>(); 
		AttributeSection section;
		getBlock = null;
		setBlock = null; 
		ModifierList modifiers = null;
		
		while (la.kind == 18) {
			AttributeSection(
//#line  1191 "cs.ATG" 
out section);

//#line  1191 "cs.ATG" 
			attributes.Add(section); 
		}
		if (la.kind == 84 || la.kind == 96 || la.kind == 97) {
			AccessorModifiers(
//#line  1192 "cs.ATG" 
out modifiers);
		}
		if (la.kind == 128) {
			GetAccessorDecl(
//#line  1194 "cs.ATG" 
out getBlock, attributes);

//#line  1195 "cs.ATG" 
			if (modifiers != null) {getBlock.Modifier = modifiers.Modifier; } 
			if (StartOf(26)) {

//#line  1196 "cs.ATG" 
				attributes = new List<AttributeSection>(); modifiers = null; 
				while (la.kind == 18) {
					AttributeSection(
//#line  1197 "cs.ATG" 
out section);

//#line  1197 "cs.ATG" 
					attributes.Add(section); 
				}
				if (la.kind == 84 || la.kind == 96 || la.kind == 97) {
					AccessorModifiers(
//#line  1198 "cs.ATG" 
out modifiers);
				}
				SetAccessorDecl(
//#line  1199 "cs.ATG" 
out setBlock, attributes);

//#line  1200 "cs.ATG" 
				if (modifiers != null) {setBlock.Modifier = modifiers.Modifier; } 
			}
		} else if (la.kind == 129) {
			SetAccessorDecl(
//#line  1203 "cs.ATG" 
out setBlock, attributes);

//#line  1204 "cs.ATG" 
			if (modifiers != null) {setBlock.Modifier = modifiers.Modifier; } 
			if (StartOf(27)) {

//#line  1205 "cs.ATG" 
				attributes = new List<AttributeSection>(); modifiers = null; 
				while (la.kind == 18) {
					AttributeSection(
//#line  1206 "cs.ATG" 
out section);

//#line  1206 "cs.ATG" 
					attributes.Add(section); 
				}
				if (la.kind == 84 || la.kind == 96 || la.kind == 97) {
					AccessorModifiers(
//#line  1207 "cs.ATG" 
out modifiers);
				}
				GetAccessorDecl(
//#line  1208 "cs.ATG" 
out getBlock, attributes);

//#line  1209 "cs.ATG" 
				if (modifiers != null) {getBlock.Modifier = modifiers.Modifier; } 
			}
		} else if (StartOf(18)) {
			Identifier();

//#line  1211 "cs.ATG" 
			Error("get or set accessor declaration expected"); 
		} else SynErr(184);
	}
开发者ID:Bombadil77,项目名称:SharpDevelop,代码行数:93,代码来源:Parser.cs


示例15: IndexerDeclaration

		public IndexerDeclaration(TypeReference typeReference, List<ParameterDeclarationExpression> parameters, Modifiers modifier, List<AttributeSection> attributes) {
			TypeReference = typeReference;
			Parameters = parameters;
			Modifier = modifier;
			Attributes = attributes;
			interfaceImplementations = new List<InterfaceImplementation>();
			bodyStart = Location.Empty;
			bodyEnd = Location.Empty;
			getRegion = PropertyGetRegion.Null;
			setRegion = PropertySetRegion.Null;
		}
开发者ID:transformersprimeabcxyz,项目名称:monodevelop-1,代码行数:11,代码来源:Generated.cs


示例16: AccessorDecls

	void AccessorDecls(
#line  1272 "VBNET.ATG" 
out PropertyGetRegion getBlock, out PropertySetRegion setBlock) {

#line  1274 "VBNET.ATG" 
		List<AttributeSection> attributes = new List<AttributeSection>();
		AttributeSection section;
		getBlock = null;
		setBlock = null; 
		
		while (la.kind == 27) {
			AttributeSection(
#line  1279 "VBNET.ATG" 
out section);

#line  1279 "VBNET.ATG" 
			attributes.Add(section); 
		}
		if (StartOf(22)) {
			GetAccessorDecl(
#line  1281 "VBNET.ATG" 
out getBlock, attributes);
			if (StartOf(23)) {

#line  1283 "VBNET.ATG" 
				attributes = new List<AttributeSection>(); 
				while (la.kind == 27) {
					AttributeSection(
#line  1284 "VBNET.ATG" 
out section);

#line  1284 "VBNET.ATG" 
					attributes.Add(section); 
				}
				SetAccessorDecl(
#line  1285 "VBNET.ATG" 
out setBlock, attributes);
			}
		} else if (StartOf(24)) {
			SetAccessorDecl(
#line  1288 "VBNET.ATG" 
out setBlock, attributes);
			if (StartOf(25)) {

#line  1290 "VBNET.ATG" 
				attributes = new List<AttributeSection>(); 
				while (la.kind == 27) {
					AttributeSection(
#line  1291 "VBNET.ATG" 
out section);

#line  1291 "VBNET.ATG" 
					attributes.Add(section); 
				}
				GetAccessorDecl(
#line  1292 "VBNET.ATG" 
out getBlock, attributes);
			}
		} else SynErr(234);
	}
开发者ID:almazik,项目名称:ILSpy,代码行数:60,代码来源:Parser.cs


示例17: VisitPropertySetRegion

 public object VisitPropertySetRegion(PropertySetRegion propertySetRegion, object data)
 {
     throw new NotImplementedException ();
 }
开发者ID:Monobjc,项目名称:monobjc-tools,代码行数:4,代码来源:CodeDomExpressionPrinter.cs


示例18: InterfaceAccessors

	void InterfaceAccessors(
#line  1276 "cs.ATG" 
out PropertyGetRegion getBlock, out PropertySetRegion setBlock) {

#line  1278 "cs.ATG" 
		AttributeSection section;
		List<AttributeSection> attributes = new List<AttributeSection>();
		getBlock = null; setBlock = null;
		PropertyGetSetRegion lastBlock = null;
		
		while (la.kind == 18) {
			AttributeSection(
#line  1284 "cs.ATG" 
out section);

#line  1284 "cs.ATG" 
			attributes.Add(section); 
		}

#line  1285 "cs.ATG" 
		Location startLocation = la.Location; 
		if (la.kind == 128) {
			lexer.NextToken();

#line  1287 "cs.ATG" 
			getBlock = new PropertyGetRegion(null, attributes); 
		} else if (la.kind == 129) {
			lexer.NextToken();

#line  1288 "cs.ATG" 
			setBlock = new PropertySetRegion(null, attributes); 
		} else SynErr(187);
		Expect(11);

#line  1291 "cs.ATG" 
		if (getBlock != null) { getBlock.StartLocation = startLocation; getBlock.EndLocation = t.EndLocation; }
		if (setBlock != null) { setBlock.StartLocation = startLocation; setBlock.EndLocation = t.EndLocation; }
		attributes = new List<AttributeSection>(); 
		if (la.kind == 18 || la.kind == 128 || la.kind == 129) {
			while (la.kind == 18) {
				AttributeSection(
#line  1295 "cs.ATG" 
out section);

#line  1295 "cs.ATG" 
				attributes.Add(section); 
			}

#line  1296 "cs.ATG" 
			startLocation = la.Location; 
			if (la.kind == 128) {
				lexer.NextToken();

#line  1298 "cs.ATG" 
				if (getBlock != null) Error("get already declared");
				                 else { getBlock = new PropertyGetRegion(null, attributes); lastBlock = getBlock; }
				              
			} else if (la.kind == 129) {
				lexer.NextToken();

#line  1301 "cs.ATG" 
				if (setBlock != null) Error("set already declared");
				                 else { setBlock = new PropertySetRegion(null, attributes); lastBlock = setBlock; }
				              
			} else SynErr(188);
			Expect(11);

#line  1306 "cs.ATG" 
			if (lastBlock != null) { lastBlock.StartLocation = startLocation; lastBlock.EndLocation = t.EndLocation; } 
		}
	}
开发者ID:pluraldj,项目名称:SharpDevelop,代码行数:71,代码来源:Parser.cs


示例19: VisitPropertySetRegion

 public virtual object VisitPropertySetRegion(PropertySetRegion propertySetRegion, object data)
 {
     Debug.Assert((propertySetRegion != null));
     Debug.Assert((propertySetRegion.Attributes != null));
     Debug.Assert((propertySetRegion.Block != null));
     Debug.Assert((propertySetRegion.Parameters != null));
     foreach (AttributeSection o in propertySetRegion.Attributes) {
         Debug.Assert(o != null);
         o.AcceptVisitor(this, data);
     }
     propertySetRegion.Block.AcceptVisitor(this, data);
     foreach (ParameterDeclarationExpression o in propertySetRegion.Parameters) {
         Debug.Assert(o != null);
         o.AcceptVisitor(this, data);
     }
     return null;
 }
开发者ID:pusp,项目名称:o2platform,代码行数:17,代码来源:AbstractASTVisitor.cs


示例20: VisitPropertySetRegion

 public override object VisitPropertySetRegion(PropertySetRegion propertySetRegion, object data)
 {
     if (this.CheckNode(propertySetRegion)) {
         return null;
     }
     return base.VisitPropertySetRegion(propertySetRegion, data);
 }
开发者ID:2594636985,项目名称:SharpDevelop,代码行数:7,代码来源:MemberFindAstVisitor.cs



注:本文中的ICSharpCode.NRefactory.Ast.PropertySetRegion类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Ast.QueryExpression类代码示例发布时间:2022-05-26
下一篇:
C# Ast.PropertyGetRegion类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap