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

semantic analysis: validate operation definition in Document #149

Closed
Tracked by #147
lrlna opened this issue Jan 25, 2022 · 0 comments · Fixed by #202
Closed
Tracked by #147

semantic analysis: validate operation definition in Document #149

lrlna opened this issue Jan 25, 2022 · 0 comments · Fixed by #202
Assignees

Comments

@lrlna
Copy link
Member

lrlna commented Jan 25, 2022

Description

Validate the operation definition and add related methods to the SourceDatabase.

Related Issues, #144, #147

Specification

  Documentation SEMANTIC PROCESSING ERROR WARNING HINT SUGGESTION QUERIES TO BE ADDED TO SOURCEDATABASE
Operation Defined in spec  
  • shorthand can only be used if there are no variables or directives
  • shorthand cannot be used if there are multiple operations
  • show where the variable or directive is already defined
  • show other operations
  • variables in an operation definition → Vec<Variables>
  • directives in operation definition → Vec<Directives>
  • operation_definitions → Vec<OperationDefinitions>
@lrlna lrlna self-assigned this Jan 25, 2022
@lrlna lrlna changed the title Operation Definition semantic analysis: validate operation definition in Document #148 Jan 25, 2022
@lrlna lrlna changed the title semantic analysis: validate operation definition in Document #148 semantic analysis: validate operation definition in Document Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant