All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.wener.jraphql.lang.Node Maven / Gradle / Ivy

package me.wener.jraphql.lang;

import java.util.Collections;
import java.util.List;

/**
 * @author wener
 * @since 16/03/2018
 */
public interface Node {

  SourceLocation getSourceLocation();

  List getComments();

  default List getChildren() {
    return Collections.emptyList();
  }

  default String getTypeName() {
    return getClass().getSimpleName();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy