diff options
author | 2021-04-01 10:25:28 -0600 | |
---|---|---|
committer | 2021-04-01 10:25:28 -0600 | |
commit | c26c244ca2634d462616d6cf71072fbe26becba2 (patch) | |
tree | 1bd5e83eff9ca88200aacb272c84439f192015ec /src/parser/parse/index.ts | |
parent | f6a7ac67befff863e34133673efb78ea7ac0fe48 (diff) | |
download | astro-c26c244ca2634d462616d6cf71072fbe26becba2.tar.gz astro-c26c244ca2634d462616d6cf71072fbe26becba2.tar.zst astro-c26c244ca2634d462616d6cf71072fbe26becba2.zip |
Annoying Lint PR #2 (#47)
Diffstat (limited to 'src/parser/parse/index.ts')
-rw-r--r-- | src/parser/parse/index.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/parser/parse/index.ts b/src/parser/parse/index.ts index 052cf0317..124e125ef 100644 --- a/src/parser/parse/index.ts +++ b/src/parser/parse/index.ts @@ -217,6 +217,11 @@ export class Parser { } } +/** + * Parse + * Step 1/3 in Astro SSR. + * This is the first pass over .astro files and the step at which we convert a string to an AST for us to crawl. + */ export default function parse(template: string, options: ParserOptions = {}): Ast { const parser = new Parser(template, options); |