Skip to content

Commit

Permalink
parser: Remove unnecessary export on internal function (#2024)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored Jul 10, 2019
1 parent e3b5f82 commit 1fd4a22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/language/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,7 @@ function parseStringLiteral(lexer: Lexer<*>): StringValueNode {
};
}

export function parseConstValue(lexer: Lexer<*>): ValueNode {
function parseConstValue(lexer: Lexer<*>): ValueNode {
return parseValueLiteral(lexer, true);
}

Expand Down Expand Up @@ -703,7 +703,7 @@ function parseDirective(lexer: Lexer<*>, isConst: boolean): DirectiveNode {
* - ListType
* - NonNullType
*/
export function parseTypeReference(lexer: Lexer<*>): TypeNode {
function parseTypeReference(lexer: Lexer<*>): TypeNode {
const start = lexer.token;
let type;
if (expectOptionalToken(lexer, TokenKind.BRACKET_L)) {
Expand All @@ -730,7 +730,7 @@ export function parseTypeReference(lexer: Lexer<*>): TypeNode {
/**
* NamedType : Name
*/
export function parseNamedType(lexer: Lexer<*>): NamedTypeNode {
function parseNamedType(lexer: Lexer<*>): NamedTypeNode {
const start = lexer.token;
return {
kind: Kind.NAMED_TYPE,
Expand Down

0 comments on commit 1fd4a22

Please sign in to comment.