Sha256: 073498b9e819b6e5bff4051290716cfeeef25e6d9380d0bb32f9f997cb630462
Contents?: true
Size: 552 Bytes
Versions: 19
Compression:
Stored size: 552 Bytes
Contents
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ #include "ANTLRFileStream.h" using namespace antlr4; void ANTLRFileStream::loadFromFile(const std::string &fileName) { _fileName = fileName; if (_fileName.empty()) { return; } std::ifstream stream(fileName, std::ios::binary); ANTLRInputStream::load(stream); } std::string ANTLRFileStream::getSourceName() const { return _fileName; }
Version data entries
19 entries across 19 versions & 3 rubygems