Lines Matching full:snippets
16 // is recognized as sample code. Snippets are processed as separate programs,
128 /// Checks samples and code snippets for analysis errors.
136 /// For snippets, the snippets are generated using the snippets tool, and they
137 /// are analyzed with the samples. If errors are found in snippets, then the
139 /// line, since snippets get reformatted when written, and the line numbers
189 // Once the snippets tool has been precompiled by Dart, this contains the AOT
193 /// Finds the location of the snippets script.
196 return path.canonicalize(path.join(platformScriptPath, '..', 'snippets', 'lib', 'main.dart'));
238 final Map<String, Snippet> snippets = <String, Snippet>{};
239 _extractSamples(sections, snippets);
240 errors = _analyze(_tempDirectory, sections, snippets);
268 /// Creates a name for the snippets tool to use for the snippet ID from a
277 // Precompiles the snippets tool if _snippetsSnapshotPath isn't set yet, and
334 final List<Snippet> snippets = <Snippet>[];
360 snippets.add(
365 serial: snippets.length,
463 for (Snippet snippet in snippets) {
582 Map<String, Snippet> snippets,
656 snippet: snippets[file.path],
869 /// "{@tool snippet ...}...{@end-tool}". Snippets are processed separately from