Package graphql.language
Class IgnoredChars
- java.lang.Object
-
- graphql.language.IgnoredChars
-
- All Implemented Interfaces:
java.io.Serializable
@PublicApi public class IgnoredChars 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
-
-
Field Summary
Fields Modifier and Type Field Description static IgnoredChars
EMPTY
-
Constructor Summary
Constructors Constructor Description IgnoredChars(java.util.List<IgnoredChar> left, java.util.List<IgnoredChar> right)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<IgnoredChar>
getLeft()
java.util.List<IgnoredChar>
getRight()
-
-
-
Field Detail
-
EMPTY
public static final IgnoredChars EMPTY
-
-
Constructor Detail
-
IgnoredChars
public IgnoredChars(java.util.List<IgnoredChar> left, java.util.List<IgnoredChar> right)
-
-
Method Detail
-
getLeft
public java.util.List<IgnoredChar> getLeft()
-
getRight
public java.util.List<IgnoredChar> getRight()
-
-