module lang::rascal::tutor::Indexer
rascal-0.40.13-BOOT2
rascal-tutor-0.19.9
Usage
import lang::rascal::tutor::Indexer;
Dependencies
import util::Reflective;
import ValueIO;
import String;
import util::FileSystem;
import util::Monitor;
import IO;
import ValueIO;
import Location;
import List;
import lang::rascal::tutor::apidoc::DeclarationInfo;
import lang::rascal::tutor::apidoc::ExtractInfo;
import lang::rascal::tutor::Names;
import Location;
import Set;
alias Index
rel[str reference, str url]
function readConceptIndex
Index readConceptIndex(PathConfig pcfg)
function countCompilerWork
tuple[int modules, int concepts, int directories, int images] countCompilerWork(PathConfig pcfg)
function createConceptIndex
Index createConceptIndex(PathConfig pcfg)
rel[str, str] createConceptIndex(list[loc] srcs, datetime lastModified, bool isPackageCourse, str packageName)
function createConceptIndex
creates a lookup table for concepts nested in a folder
rel[str, str] createConceptIndex(loc src, datetime lastModified, bool isPackageCourse, str packageName)
function isConceptFile
bool isConceptFile(loc f)
function isFreshConceptFile
bool(loc) isFreshConceptFile(datetime lM)
function isFreshRascalFile
bool(loc) isFreshRascalFile(datetime lM)
function isImageFile
bool isImageFile(loc f)
function safeExtract
ignores extracting errors because they will be found later
list[DeclarationInfo] safeExtract(loc f)