Package graphql.parser
Class StringValueParsing
java.lang.Object
graphql.parser.StringValueParsing
Contains parsing code for the StringValue types in the grammar
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
private static int
leadingWhitespace
(String str) static String
parseSingleQuotedString
(I18n i18n, String string, SourceLocation sourceLocation) static String
parseTripleQuotedString
(String strText) static String
removeIndentation
(String rawValue)
-
Field Details
-
ESCAPED_TRIPLE_QUOTES
- See Also:
-
THREE_QUOTES
- See Also:
-
-
Constructor Details
-
StringValueParsing
public StringValueParsing()
-
-
Method Details
-
parseTripleQuotedString
-
removeIndentation
-
leadingWhitespace
-
containsOnlyWhiteSpace
-
parseSingleQuotedString
public static String parseSingleQuotedString(I18n i18n, String string, SourceLocation sourceLocation)
-