GraphQL v0.3.0 GraphQL.Lang.AST.InitialisingVisitor protocol

A Visitor that implements this protocol will have the opportunity to perform some initialisation and set up the accumulator before AST traversal is started.

The fallback implementation returns the accumulator untouched.

Summary

Functions

Invoked before traversal begins. The Visitor can do any once-off accumulator initialisation here

Types

t :: term

Functions

init(visitor, accumulator)

Invoked before traversal begins. The Visitor can do any once-off accumulator initialisation here.