All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ossuminc.riddl.passes.translate.TranslatingPass.scala Maven / Gradle / Ivy

/*
 * Copyright 2019 Ossum, Inc.
 *
 * SPDX-License-Identifier: Apache-2.0
 */

package com.ossuminc.riddl.passes.translate

import com.ossuminc.riddl.language.Messages.Messages
import com.ossuminc.riddl.language.parsing.RiddlParserInput
import com.ossuminc.riddl.passes.{Pass, PassCreator, PassInput, PassesCreator, PassesOutput, PassesResult, Riddl}
import com.ossuminc.riddl.language.CommonOptions
import com.ossuminc.riddl.utils.Logger

import java.nio.file.Path

/** Base class of all Passes that translate the AST to some other form.
  *
  * @param input
  *   The input to be translated
  * @param outputs
  *   The prior outputs from preceding passes
  */
abstract class TranslatingPass(input: PassInput, outputs: PassesOutput) extends Pass(input, outputs)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy