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

raw.compiler.common.TreeWithPositions.scala Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2023 RAW Labs S.A.
 *
 * Use of this software is governed by the Business Source License
 * included in the file licenses/BSL.txt.
 *
 * As of the Change Date specified in that file, in accordance with
 * the Business Source License, use of this software will be governed
 * by the Apache License, Version 2.0, included in the file
 * licenses/APL.txt.
 */

package raw.compiler.common

import raw.compiler.base.ProgramContext
import raw.compiler.common.source.{Exp, SourceNode, SourceProgram}

abstract class TreeWithPositions(originalSource: String, ensureTree: Boolean)(implicit programContext: ProgramContext)
    extends raw.compiler.base.TreeWithPositions[SourceNode, SourceProgram, Exp](originalSource, ensureTree)
    with source.SourcePrettyPrinter
    with errors.ErrorsPrettyPrinter




© 2015 - 2025 Weber Informatics LLC | Privacy Policy