Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AST: add GQLNamed and GQLDescribed on all types that have a name or a description #5127

Merged
merged 1 commit into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions libraries/apollo-ast/api/apollo-ast.api
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ public final class com/apollographql/apollo3/ast/ConversionException : com/apoll
public synthetic fun <init> (Ljava/lang/String;Lcom/apollographql/apollo3/ast/SourceLocation;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
}

public final class com/apollographql/apollo3/ast/GQLArgument : com/apollographql/apollo3/ast/GQLNode {
public final class com/apollographql/apollo3/ast/GQLArgument : com/apollographql/apollo3/ast/GQLNamed, com/apollographql/apollo3/ast/GQLNode {
public fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Lcom/apollographql/apollo3/ast/GQLValue;)V
public synthetic fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Lcom/apollographql/apollo3/ast/GQLValue;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Lcom/apollographql/apollo3/ast/GQLValue;)Lcom/apollographql/apollo3/ast/GQLArgument;
public static synthetic fun copy$default (Lcom/apollographql/apollo3/ast/GQLArgument;Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Lcom/apollographql/apollo3/ast/GQLValue;ILjava/lang/Object;)Lcom/apollographql/apollo3/ast/GQLArgument;
public fun copyWithNewChildrenInternal (Lcom/apollographql/apollo3/ast/NodeContainer;)Lcom/apollographql/apollo3/ast/GQLNode;
public fun getChildren ()Ljava/util/List;
public final fun getName ()Ljava/lang/String;
public fun getName ()Ljava/lang/String;
public fun getSourceLocation ()Lcom/apollographql/apollo3/ast/SourceLocation;
public final fun getValue ()Lcom/apollographql/apollo3/ast/GQLValue;
public fun writeInternal (Lcom/apollographql/apollo3/ast/SDLWriter;)V
Expand Down Expand Up @@ -76,7 +76,7 @@ public final class com/apollographql/apollo3/ast/GQLDirective : com/apollographq
public fun writeInternal (Lcom/apollographql/apollo3/ast/SDLWriter;)V
}

public final class com/apollographql/apollo3/ast/GQLDirectiveDefinition : com/apollographql/apollo3/ast/GQLDefinition, com/apollographql/apollo3/ast/GQLNamed {
public final class com/apollographql/apollo3/ast/GQLDirectiveDefinition : com/apollographql/apollo3/ast/GQLDefinition, com/apollographql/apollo3/ast/GQLDescribed, com/apollographql/apollo3/ast/GQLNamed {
public static final field Companion Lcom/apollographql/apollo3/ast/GQLDirectiveDefinition$Companion;
public fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ZLjava/util/List;)V
public synthetic fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ZLjava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
Expand All @@ -85,7 +85,7 @@ public final class com/apollographql/apollo3/ast/GQLDirectiveDefinition : com/ap
public fun copyWithNewChildrenInternal (Lcom/apollographql/apollo3/ast/NodeContainer;)Lcom/apollographql/apollo3/ast/GQLNode;
public final fun getArguments ()Ljava/util/List;
public fun getChildren ()Ljava/util/List;
public final fun getDescription ()Ljava/lang/String;
public fun getDescription ()Ljava/lang/String;
public final fun getLocations ()Ljava/util/List;
public fun getName ()Ljava/lang/String;
public final fun getRepeatable ()Z
Expand Down Expand Up @@ -179,14 +179,14 @@ public final class com/apollographql/apollo3/ast/GQLEnumValue : com/apollographq
public fun writeInternal (Lcom/apollographql/apollo3/ast/SDLWriter;)V
}

public final class com/apollographql/apollo3/ast/GQLEnumValueDefinition : com/apollographql/apollo3/ast/GQLNamed, com/apollographql/apollo3/ast/GQLNode {
public final class com/apollographql/apollo3/ast/GQLEnumValueDefinition : com/apollographql/apollo3/ast/GQLDescribed, com/apollographql/apollo3/ast/GQLNamed, com/apollographql/apollo3/ast/GQLNode {
public fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)V
public synthetic fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;)Lcom/apollographql/apollo3/ast/GQLEnumValueDefinition;
public static synthetic fun copy$default (Lcom/apollographql/apollo3/ast/GQLEnumValueDefinition;Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Lcom/apollographql/apollo3/ast/GQLEnumValueDefinition;
public fun copyWithNewChildrenInternal (Lcom/apollographql/apollo3/ast/NodeContainer;)Lcom/apollographql/apollo3/ast/GQLNode;
public fun getChildren ()Ljava/util/List;
public final fun getDescription ()Ljava/lang/String;
public fun getDescription ()Ljava/lang/String;
public final fun getDirectives ()Ljava/util/List;
public fun getName ()Ljava/lang/String;
public fun getSourceLocation ()Lcom/apollographql/apollo3/ast/SourceLocation;
Expand All @@ -196,7 +196,7 @@ public final class com/apollographql/apollo3/ast/GQLEnumValueDefinition : com/ap
public abstract interface class com/apollographql/apollo3/ast/GQLExecutableDefinition : com/apollographql/apollo3/ast/GQLDefinition {
}

public final class com/apollographql/apollo3/ast/GQLField : com/apollographql/apollo3/ast/GQLSelection {
public final class com/apollographql/apollo3/ast/GQLField : com/apollographql/apollo3/ast/GQLSelection, com/apollographql/apollo3/ast/GQLNamed {
public fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
public synthetic fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;)Lcom/apollographql/apollo3/ast/GQLField;
Expand All @@ -206,22 +206,22 @@ public final class com/apollographql/apollo3/ast/GQLField : com/apollographql/ap
public final fun getArguments ()Ljava/util/List;
public fun getChildren ()Ljava/util/List;
public final fun getDirectives ()Ljava/util/List;
public final fun getName ()Ljava/lang/String;
public fun getName ()Ljava/lang/String;
public final fun getSelectionSet ()Lcom/apollographql/apollo3/ast/GQLSelectionSet;
public final fun getSelections ()Ljava/util/List;
public fun getSourceLocation ()Lcom/apollographql/apollo3/ast/SourceLocation;
public fun writeInternal (Lcom/apollographql/apollo3/ast/SDLWriter;)V
}

public final class com/apollographql/apollo3/ast/GQLFieldDefinition : com/apollographql/apollo3/ast/GQLNamed, com/apollographql/apollo3/ast/GQLNode {
public final class com/apollographql/apollo3/ast/GQLFieldDefinition : com/apollographql/apollo3/ast/GQLDescribed, com/apollographql/apollo3/ast/GQLNamed, com/apollographql/apollo3/ast/GQLNode {
public fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/apollographql/apollo3/ast/GQLType;Ljava/util/List;)V
public synthetic fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/apollographql/apollo3/ast/GQLType;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/apollographql/apollo3/ast/GQLType;Ljava/util/List;)Lcom/apollographql/apollo3/ast/GQLFieldDefinition;
public static synthetic fun copy$default (Lcom/apollographql/apollo3/ast/GQLFieldDefinition;Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/apollographql/apollo3/ast/GQLType;Ljava/util/List;ILjava/lang/Object;)Lcom/apollographql/apollo3/ast/GQLFieldDefinition;
public fun copyWithNewChildrenInternal (Lcom/apollographql/apollo3/ast/NodeContainer;)Lcom/apollographql/apollo3/ast/GQLNode;
public final fun getArguments ()Ljava/util/List;
public fun getChildren ()Ljava/util/List;
public final fun getDescription ()Ljava/lang/String;
public fun getDescription ()Ljava/lang/String;
public final fun getDirectives ()Ljava/util/List;
public fun getName ()Ljava/lang/String;
public fun getSourceLocation ()Lcom/apollographql/apollo3/ast/SourceLocation;
Expand Down Expand Up @@ -258,15 +258,15 @@ public final class com/apollographql/apollo3/ast/GQLFragmentDefinition : com/apo
public fun writeInternal (Lcom/apollographql/apollo3/ast/SDLWriter;)V
}

public final class com/apollographql/apollo3/ast/GQLFragmentSpread : com/apollographql/apollo3/ast/GQLSelection {
public final class com/apollographql/apollo3/ast/GQLFragmentSpread : com/apollographql/apollo3/ast/GQLSelection, com/apollographql/apollo3/ast/GQLNamed {
public fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/util/List;)V
public synthetic fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/util/List;)Lcom/apollographql/apollo3/ast/GQLFragmentSpread;
public static synthetic fun copy$default (Lcom/apollographql/apollo3/ast/GQLFragmentSpread;Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/util/List;ILjava/lang/Object;)Lcom/apollographql/apollo3/ast/GQLFragmentSpread;
public fun copyWithNewChildrenInternal (Lcom/apollographql/apollo3/ast/NodeContainer;)Lcom/apollographql/apollo3/ast/GQLNode;
public fun getChildren ()Ljava/util/List;
public final fun getDirectives ()Ljava/util/List;
public final fun getName ()Ljava/lang/String;
public fun getName ()Ljava/lang/String;
public fun getSourceLocation ()Lcom/apollographql/apollo3/ast/SourceLocation;
public fun writeInternal (Lcom/apollographql/apollo3/ast/SDLWriter;)V
}
Expand Down Expand Up @@ -319,15 +319,15 @@ public final class com/apollographql/apollo3/ast/GQLInputObjectTypeExtension : c
public fun writeInternal (Lcom/apollographql/apollo3/ast/SDLWriter;)V
}

public final class com/apollographql/apollo3/ast/GQLInputValueDefinition : com/apollographql/apollo3/ast/GQLNamed, com/apollographql/apollo3/ast/GQLNode {
public final class com/apollographql/apollo3/ast/GQLInputValueDefinition : com/apollographql/apollo3/ast/GQLDescribed, com/apollographql/apollo3/ast/GQLNamed, com/apollographql/apollo3/ast/GQLNode {
public fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/apollographql/apollo3/ast/GQLType;Lcom/apollographql/apollo3/ast/GQLValue;)V
public synthetic fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/apollographql/apollo3/ast/GQLType;Lcom/apollographql/apollo3/ast/GQLValue;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/apollographql/apollo3/ast/GQLType;Lcom/apollographql/apollo3/ast/GQLValue;)Lcom/apollographql/apollo3/ast/GQLInputValueDefinition;
public static synthetic fun copy$default (Lcom/apollographql/apollo3/ast/GQLInputValueDefinition;Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Lcom/apollographql/apollo3/ast/GQLType;Lcom/apollographql/apollo3/ast/GQLValue;ILjava/lang/Object;)Lcom/apollographql/apollo3/ast/GQLInputValueDefinition;
public fun copyWithNewChildrenInternal (Lcom/apollographql/apollo3/ast/NodeContainer;)Lcom/apollographql/apollo3/ast/GQLNode;
public fun getChildren ()Ljava/util/List;
public final fun getDefaultValue ()Lcom/apollographql/apollo3/ast/GQLValue;
public final fun getDescription ()Ljava/lang/String;
public fun getDescription ()Ljava/lang/String;
public final fun getDirectives ()Ljava/util/List;
public fun getName ()Ljava/lang/String;
public fun getSourceLocation ()Lcom/apollographql/apollo3/ast/SourceLocation;
Expand Down Expand Up @@ -450,14 +450,14 @@ public final class com/apollographql/apollo3/ast/GQLNullValue : com/apollographq
public fun writeInternal (Lcom/apollographql/apollo3/ast/SDLWriter;)V
}

public final class com/apollographql/apollo3/ast/GQLObjectField : com/apollographql/apollo3/ast/GQLNode {
public final class com/apollographql/apollo3/ast/GQLObjectField : com/apollographql/apollo3/ast/GQLNamed, com/apollographql/apollo3/ast/GQLNode {
public fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Lcom/apollographql/apollo3/ast/GQLValue;)V
public synthetic fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Lcom/apollographql/apollo3/ast/GQLValue;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Lcom/apollographql/apollo3/ast/GQLValue;)Lcom/apollographql/apollo3/ast/GQLObjectField;
public static synthetic fun copy$default (Lcom/apollographql/apollo3/ast/GQLObjectField;Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Lcom/apollographql/apollo3/ast/GQLValue;ILjava/lang/Object;)Lcom/apollographql/apollo3/ast/GQLObjectField;
public fun copyWithNewChildrenInternal (Lcom/apollographql/apollo3/ast/NodeContainer;)Lcom/apollographql/apollo3/ast/GQLNode;
public fun getChildren ()Ljava/util/List;
public final fun getName ()Ljava/lang/String;
public fun getName ()Ljava/lang/String;
public fun getSourceLocation ()Lcom/apollographql/apollo3/ast/SourceLocation;
public final fun getValue ()Lcom/apollographql/apollo3/ast/GQLValue;
public fun writeInternal (Lcom/apollographql/apollo3/ast/SDLWriter;)V
Expand Down Expand Up @@ -572,14 +572,14 @@ public final class com/apollographql/apollo3/ast/GQLScalarTypeExtension : com/ap
public fun writeInternal (Lcom/apollographql/apollo3/ast/SDLWriter;)V
}

public final class com/apollographql/apollo3/ast/GQLSchemaDefinition : com/apollographql/apollo3/ast/GQLDefinition {
public final class com/apollographql/apollo3/ast/GQLSchemaDefinition : com/apollographql/apollo3/ast/GQLDefinition, com/apollographql/apollo3/ast/GQLDescribed {
public fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/util/List;Ljava/util/List;)V
public synthetic fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/util/List;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/util/List;Ljava/util/List;)Lcom/apollographql/apollo3/ast/GQLSchemaDefinition;
public static synthetic fun copy$default (Lcom/apollographql/apollo3/ast/GQLSchemaDefinition;Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Ljava/util/List;Ljava/util/List;ILjava/lang/Object;)Lcom/apollographql/apollo3/ast/GQLSchemaDefinition;
public fun copyWithNewChildrenInternal (Lcom/apollographql/apollo3/ast/NodeContainer;)Lcom/apollographql/apollo3/ast/GQLNode;
public fun getChildren ()Ljava/util/List;
public final fun getDescription ()Ljava/lang/String;
public fun getDescription ()Ljava/lang/String;
public final fun getDirectives ()Ljava/util/List;
public final fun getRootOperationTypeDefinitions ()Ljava/util/List;
public fun getSourceLocation ()Lcom/apollographql/apollo3/ast/SourceLocation;
Expand Down Expand Up @@ -676,7 +676,7 @@ public final class com/apollographql/apollo3/ast/GQLUnionTypeExtension : com/apo
public abstract class com/apollographql/apollo3/ast/GQLValue : com/apollographql/apollo3/ast/GQLNode {
}

public final class com/apollographql/apollo3/ast/GQLVariableDefinition : com/apollographql/apollo3/ast/GQLNode {
public final class com/apollographql/apollo3/ast/GQLVariableDefinition : com/apollographql/apollo3/ast/GQLNamed, com/apollographql/apollo3/ast/GQLNode {
public fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Lcom/apollographql/apollo3/ast/GQLType;Lcom/apollographql/apollo3/ast/GQLValue;Ljava/util/List;)V
public synthetic fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Lcom/apollographql/apollo3/ast/GQLType;Lcom/apollographql/apollo3/ast/GQLValue;Ljava/util/List;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;Lcom/apollographql/apollo3/ast/GQLType;Lcom/apollographql/apollo3/ast/GQLValue;Ljava/util/List;)Lcom/apollographql/apollo3/ast/GQLVariableDefinition;
Expand All @@ -685,20 +685,20 @@ public final class com/apollographql/apollo3/ast/GQLVariableDefinition : com/apo
public fun getChildren ()Ljava/util/List;
public final fun getDefaultValue ()Lcom/apollographql/apollo3/ast/GQLValue;
public final fun getDirectives ()Ljava/util/List;
public final fun getName ()Ljava/lang/String;
public fun getName ()Ljava/lang/String;
public fun getSourceLocation ()Lcom/apollographql/apollo3/ast/SourceLocation;
public final fun getType ()Lcom/apollographql/apollo3/ast/GQLType;
public fun writeInternal (Lcom/apollographql/apollo3/ast/SDLWriter;)V
}

public final class com/apollographql/apollo3/ast/GQLVariableValue : com/apollographql/apollo3/ast/GQLValue {
public final class com/apollographql/apollo3/ast/GQLVariableValue : com/apollographql/apollo3/ast/GQLValue, com/apollographql/apollo3/ast/GQLNamed {
public fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;)V
public synthetic fun <init> (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun copy (Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;)Lcom/apollographql/apollo3/ast/GQLVariableValue;
public static synthetic fun copy$default (Lcom/apollographql/apollo3/ast/GQLVariableValue;Lcom/apollographql/apollo3/ast/SourceLocation;Ljava/lang/String;ILjava/lang/Object;)Lcom/apollographql/apollo3/ast/GQLVariableValue;
public fun copyWithNewChildrenInternal (Lcom/apollographql/apollo3/ast/NodeContainer;)Lcom/apollographql/apollo3/ast/GQLNode;
public fun getChildren ()Ljava/util/List;
public final fun getName ()Ljava/lang/String;
public fun getName ()Ljava/lang/String;
public fun getSourceLocation ()Lcom/apollographql/apollo3/ast/SourceLocation;
public fun writeInternal (Lcom/apollographql/apollo3/ast/SDLWriter;)V
}
Expand Down
Loading
Loading