Files
swift-mirror/include/swift/Immediate/Helpers.h
Connor Wakamo 8fc6a6d599 [immediate] Moved the support for immediate and REPL modes into a new swiftImmediate library.
In order to implement immediate and REPL modes in swift_driver, this functionality
needs to be in a library (instead of directly in the swift executable).

Swift SVN r12519
2014-01-18 00:55:45 +00:00

38 lines
1.1 KiB
C++

//===-- Helpers.h - frontend utility methods -----------------*- C++ -*----===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
//
// This file contains declarations of utility methods for parsing and
// performing semantic on modules.
//
//===----------------------------------------------------------------------===//
#ifndef SWIFT_IMMEDIATE_HELPERS_H
#define SWIFT_IMMEDIATE_HELPERS_H
#include "swift/Basic/LLVM.h"
namespace llvm {
class MemoryBuffer;
}
namespace swift {
class PersistentParserState;
class REPLContext;
class SILModule;
class SourceFile;
bool appendToREPLFile(SourceFile &SF, PersistentParserState &State,
REPLContext &RC, llvm::MemoryBuffer *Buffer);
} // namespace swift
#endif