protected override void VisitScalarTypeExtension(
     ScalarTypeExtensionNode node,
     object context)
 {
     _visited.Add(nameof(VisitScalarTypeExtension));
     base.VisitScalarTypeExtension(node, context);
 }
예제 #2
0
 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)
 {
 }