protected override void VisitScalarTypeExtension(
     ScalarTypeExtensionNode node,
     object context)
 {
     _visited.Add(nameof(VisitScalarTypeExtension));
     base.VisitScalarTypeExtension(node, context);
 }
 protected override void VisitScalarTypeExtension(
     ScalarTypeExtensionNode node,
     TContext context)
 {
     VisitName(node.Name, context);
     VisitMany(node.Directives, context, VisitDirective);
 }
示例#3
0
 public virtual VisitorAction Leave(
     ScalarTypeExtensionNode node,
     ISyntaxNode parent,
     IReadOnlyList <object> path,
     IReadOnlyList <ISyntaxNode> ancestors)
 {
     return(GetDefaultAction(node.Kind));
 }
示例#4
0
        protected virtual ScalarTypeExtensionNode RewriteScalarTypeExtension(
            ScalarTypeExtensionNode node,
            TContext context)
        {
            ScalarTypeExtensionNode current = node;

            current = RewriteDirectives(current, current.Directives,
                                        context, current.WithDirectives);

            current = Rewrite(current, current.Name, context,
                              RewriteName, current.WithName);

            return(current);
        }
示例#5
0
        protected virtual void ResolveChildren(
            ScalarTypeExtensionNode node,
            IList <SyntaxNodeInfo> children)
        {
            ResolveChildren(
                nameof(node.Name),
                node.Name,
                children);

            ResolveChildren(
                nameof(node.Directives),
                node.Directives,
                children);
        }
示例#6
0
 protected virtual void VisitScalarTypeExtension(
     ScalarTypeExtensionNode node)
 {
 }
示例#7
0
 protected override void VisitScalarTypeExtension(
     ScalarTypeExtensionNode node)
 {
     VisitName(node.Name);
     VisitMany(node.Directives, VisitDirective);
 }
示例#8
0
 protected virtual void VisitScalarTypeExtension(
     ScalarTypeExtensionNode node,
     TContext context)
 {
 }