resources/grammar/statement/extensions/type/interface.pp2
/**
* --------------------------------------------------------------------------
* GraphQL SDL Interface Extensions
* --------------------------------------------------------------------------
*
* Interface type extensions are used to represent an interface which has
* been extended from some original interface. For example, this might be
* used to represent common local data on many types, or by a GraphQL
* service which is itself an extension of another GraphQL service.
*
* @see https://facebook.github.io/graphql/June2018/#sec-Interface-Extensions
*
*/
InterfaceTypeExtension -> {
return new Stmt\Extension\InterfaceTypeExtensionNode(
$children[0],
$children[1]->getArrayCopy(),
$children[3]->getArrayCopy(),
$children[2]->getArrayCopy(),
);
}
: ::T_EXTEND:: InterfaceTypeDefinitionExceptDescription()
;