Analyzer::Specification::GraphqlSdl
Inherits Analyzer::Specification::SpecificationEngine < Analyzer < FileHelper < Reference < Object
Parses GraphQL SDL schema documents (*.graphql, *.gql, *.graphqls)
and emits one endpoint per Query / Mutation / Subscription field.
Operation documents (query Foo { ... }) are intentionally not handled
here — the runtime file_analyzers/graphql_analyzer covers that surface.
The SDL grammar itself lives in GraphqlSdlParser so other analyzers
(Apollo Server inline typeDefs, GraphQL Yoga, etc.) can share it.
Class methods
Instance methods
Instance-side view of the same declaration. The per-file rescues live on
this base class, which has no way to name the analyzer that is running
inside them, so a skipped file could not be attributed to a tech.
Deriving it from analyzer_for keeps the name written exactly once.