Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "pack/docker/parse/DockerFileParser"

Index

Variables

Const DockerFileParser

DockerFileParser: FileParser = new DockerFileParserClass()

FileParser instance to use for Docker files. Example path expressions, given "node:argon" as the image //FROM/image/name - returns a node with the value "node" etc //FROM/image/tag - returns a node with the value "argon" etc

Functions

addChildrenFromFromStructure

  • addChildrenFromFromStructure(n: TreeNode, l: From, doc: TextDocument): void

addChildrenFromLabelStructure

  • addChildrenFromLabelStructure(n: TreeNode, l: Label, doc: TextDocument): void

addChildrenFromMaintainer

  • addChildrenFromMaintainer(n: TreeNode, m: Instruction, doc: TextDocument): void

convertToOffset

  • convertToOffset(pos: Position, doc: TextDocument): number

instructionToTreeNode

  • instructionToTreeNode(l: Instruction, doc: TextDocument, parent?: TreeNode): TreeNode

isFrom

  • isFrom(l: Instruction): l is From

isLabel

  • isLabel(l: Instruction): l is Label

Generated using TypeDoc