public void ParseContent() { fileContents = File.OpenText(absoluteFilePath).ReadToEnd(); InkIncludeParser includeParser = new InkIncludeParser(fileContents); includePaths = includeParser.includeFilenames; }
public void ParseContent() { InkIncludeParser includeParser = new InkIncludeParser(GetFileContents()); includePaths = includeParser.includeFilenames; }
// Parses the ink file to get any info we need. // Currently this only scans for includePaths, which are later used by FindIncludedFiles. public void ParseContent() { includePaths.Clear(); includePaths.AddRange(InkIncludeParser.ParseIncludes(GetFileContents())); }