Class DockerPreprocessor


  • public class DockerPreprocessor
    extends Object
    • Constructor Detail

      • DockerPreprocessor

        public DockerPreprocessor()
    • Method Detail

      • process

        public org.sonar.iac.docker.parser.DockerPreprocessor.PreprocessorResult process​(String source)
        Remove every escaped line break. This results in instructions being represented in one line at a time. Track removed characters to adjust the offset when creating syntax tokens.