Class IgnoredChar

  • All Implemented Interfaces:
    java.io.Serializable

    @PublicApi
    public class IgnoredChar
    extends java.lang.Object
    implements java.io.Serializable
    Graphql syntax has a series of characters, such as spaces, new lines and commas that are not considered relevant to the syntax. However they can be captured and associated with the AST elements they belong to. This costs more memory but for certain use cases (like editors) this maybe be useful
    See Also:
    Serialized Form
    • Method Detail

      • getValue

        public java.lang.String getValue()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object