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

ava.graphql-java.0.0.0-2024-10-29T02-55-40-18f9d82.source-code.Graphql.g4 Maven / Gradle / Ivy

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

@header {
    package graphql.parser.antlr;
}

@lexer::members {
    public boolean isDigit(int c) {
        return c >= '0' && c <= '9';
    }
    public boolean isNameStart(int c) {
        return '_' == c ||
          (c >= 'A' && c <= 'Z') ||
          (c >= 'a' && c <= 'z');
    }
    public boolean isDot(int c) {
        return '.' == c;
    }
}


document : definition+;

definition:
operationDefinition |
fragmentDefinition |
typeSystemDefinition |
typeSystemExtension
;











© 2015 - 2024 Weber Informatics LLC | Privacy Policy