Package graphql.parser
Interface ParserEnvironment
-
@PublicApi public interface ParserEnvironment
This is the arguments that can be passed to aParser
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ParserEnvironment.Builder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.Reader
getDocument()
I18n
getI18N()
java.util.Locale
getLocale()
ParserOptions
getParserOptions()
static ParserEnvironment.Builder
newParserEnvironment()
-
-
-
Method Detail
-
getDocument
java.io.Reader getDocument()
- Returns:
- the document to be parsed
-
getParserOptions
ParserOptions getParserOptions()
- Returns:
- the parsing options
-
getLocale
java.util.Locale getLocale()
- Returns:
- the locale to produce parsing error messages in
-
newParserEnvironment
static ParserEnvironment.Builder newParserEnvironment()
- Returns:
- a builder of new parsing options
-
-