Constructors
constructor
- new SourceHelper(outputChannel: OutputChannel): SourceHelper
-
Parameters
-
outputChannel: OutputChannel
Methods
extractAllTemplateLiterals
-
Parameters
-
document: TextDocument
-
Default value tags: string[] = ['gql']
getFragmentDefinitions
- getFragmentDefinitions(projectConfig: GraphQLProjectConfig): Promise<Map<string, FragmentInfo> | void>
-
Parameters
-
projectConfig: GraphQLProjectConfig
Returns Promise<Map<string, FragmentInfo> | void>
getTypeForVariableDefinitionNode
-
Parameters
-
node: VariableDefinitionNode
validate
-
Parameters
Returns undefined | null | string