diff options
Diffstat (limited to 'docs/compiler-api.md')
-rw-r--r-- | docs/compiler-api.md | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/docs/compiler-api.md b/docs/compiler-api.md index c09414f..81438d2 100644 --- a/docs/compiler-api.md +++ b/docs/compiler-api.md @@ -83,10 +83,23 @@ interface PartialStatement <: Statement { name: PathExpression | SubExpression; params: [ Expression ]; hash: Hash; - + indent: string; strip: StripFlags | null; } + +interface PartialBlockStatement <: Statement { + type: "PartialBlockStatement"; + name: PathExpression | SubExpression; + params: [ Expression ]; + hash: Hash; + + program: Program | null; + + indent: string; + openStrip: StripFlags | null; + closeStrip: StripFlags | null; +} ``` `name` will be a `SubExpression` when tied to a dynamic partial, i.e. `{{> (foo) }}`, otherwise this is a path or literal whose `original` value is used to lookup the desired partial. |