protected override void VisitEnumTypeExtension( EnumTypeExtensionNode node, object context) { _visited.Add(nameof(VisitEnumTypeExtension)); base.VisitEnumTypeExtension(node, context); }
protected override void VisitEnumTypeExtension( EnumTypeExtensionNode node) { VisitName(node.Name); VisitMany(node.Directives, VisitDirective); VisitMany(node.Values, VisitEnumValueDefinition); }
public virtual VisitorAction Leave( EnumTypeExtensionNode node, ISyntaxNode parent, IReadOnlyList <object> path, IReadOnlyList <ISyntaxNode> ancestors) { return(GetDefaultAction(node.Kind)); }
protected virtual EnumTypeExtensionNode RewriteEnumTypeExtension( EnumTypeExtensionNode node, TContext context) { EnumTypeExtensionNode current = node; current = RewriteDirectives(current, current.Directives, context, current.WithDirectives); current = Rewrite(current, current.Name, context, RewriteName, current.WithName); current = RewriteMany(current, current.Values, context, RewriteEnumValueDefinition, current.WithValues); return(current); }
protected virtual void ResolveChildren( EnumTypeExtensionNode node, IList <SyntaxNodeInfo> children) { ResolveChildren( nameof(node.Name), node.Name, children); ResolveChildren( nameof(node.Directives), node.Directives, children); ResolveChildren( nameof(node.Values), node.Values, children); }
protected virtual void VisitEnumTypeExtension( EnumTypeExtensionNode node) { }
protected override void VisitEnumTypeExtension( EnumTypeExtensionNode node) { _visited.Add(nameof(VisitEnumTypeExtension)); base.VisitEnumTypeExtension(node); }
protected virtual void VisitEnumTypeExtension( EnumTypeExtensionNode node, TContext context) { }