All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ava.graphql-java.0.0.0-2024-10-27T06-35-31-6a1ab69.source-code.GraphqlOperation.g4 Maven / Gradle / Ivy

There is a newer version: 230521-nf-execution
Show newest version
grammar GraphqlOperation;
import GraphqlCommon;

operationDefinition:
selectionSet |
operationType  name? variableDefinitions? directives? selectionSet;

variableDefinitions : '(' variableDefinition+ ')';

variableDefinition : variable ':' type defaultValue? directives?;


selectionSet :  '{' selection+ '}';

selection :
field |
fragmentSpread |
inlineFragment;

field : alias? name arguments? directives? selectionSet?;

alias : name ':';



fragmentSpread : '...' fragmentName directives?;

inlineFragment : '...' typeCondition? directives? selectionSet;

fragmentDefinition : FRAGMENT fragmentName typeCondition directives? selectionSet;


typeCondition : ON_KEYWORD typeName;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy