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

graphql.language.Node Maven / Gradle / Ivy

The newest version!
package graphql.language;


import java.util.List;

public interface Node {

    List getChildren();

    SourceLocation getSourceLocation();

    /**
     * Nodes can have comments made on them, the following is one comment per line before a node.
     *
     * @return the list of comments or an empty list of there are none
     */
    List getComments();

    /**
     * Compares just the content and not the children.
     *
     * @param node the other node to compare to
     * @return isEqualTo
     */
    boolean isEqualTo(Node node);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy