toil.wdl.versions.dev
¶
Module Contents¶
Classes¶
AnalyzeWDL implementation for the development version using ANTLR4. |
Attributes¶
- toil.wdl.versions.dev.logger¶
- class toil.wdl.versions.dev.AnalyzeDevelopmentWDL(wdl_file)¶
Bases:
digraph inheritance7b0fb70c8c { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "AnalyzeDevelopmentWDL" [URL="#toil.wdl.versions.dev.AnalyzeDevelopmentWDL",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="AnalyzeWDL implementation for the development version using ANTLR4."]; "AnalyzeV1WDL" -> "AnalyzeDevelopmentWDL" [arrowsize=0.5,style="setlinewidth(0.5)"]; "AnalyzeV1WDL" [URL="../v1/index.html#toil.wdl.versions.v1.AnalyzeV1WDL",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="AnalyzeWDL implementation for the 1.0 version using ANTLR4."]; "AnalyzeWDL" -> "AnalyzeV1WDL" [arrowsize=0.5,style="setlinewidth(0.5)"]; "AnalyzeWDL" [URL="../../wdl_analysis/index.html#toil.wdl.wdl_analysis.AnalyzeWDL",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An interface to analyze a WDL file. Each version corresponds to a subclass that"]; }toil.wdl.versions.v1.AnalyzeV1WDL
AnalyzeWDL implementation for the development version using ANTLR4.
- See: https://github.com/openwdl/wdl/blob/main/versions/development/SPEC.md
https://github.com/openwdl/wdl/blob/main/versions/development/parsers/antlr4/WdlParser.g4
- Parameters
wdl_file (str) –
- analyze()¶
Analyzes the WDL file passed into the constructor and generates the two intermediate data structures: self.workflows_dictionary and self.tasks_dictionary.
- visit_document(ctx)¶
Similar to version 1.0, except the ‘workflow’ element is included in ctx.document_element().
- Parameters
ctx (wdlparse.dev.WdlParser.WdlParser.DocumentContext) –
- Return type
None
- visit_document_element(ctx)¶
Similar to version 1.0, except this also contains ‘workflow’.
- Parameters
ctx (wdlparse.dev.WdlParser.WdlParser.Document_elementContext) –
- Return type
None
- visit_call(ctx)¶
Similar to version 1.0, except ctx.call_afters() is added.
- Parameters
ctx (wdlparse.dev.WdlParser.WdlParser.CallContext) –
- Return type
- visit_string_expr_part(ctx)¶
Similar to version 1.0, except ctx.expression_placeholder_option() is removed.
- Parameters
ctx (wdlparse.dev.WdlParser.WdlParser.String_expr_partContext) –
- Return type
- visit_wdl_type(ctx)¶
Similar to version 1.0, except Directory type is added.
- Parameters
ctx (wdlparse.dev.WdlParser.WdlParser.Wdl_typeContext) –
- Return type