diff options
author | kpdecker <kpdecker@gmail.com> | 2015-01-18 13:29:15 -0600 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2015-01-18 13:29:15 -0600 |
commit | d567d9c34566a6adab1eaea40ade2729fbce8144 (patch) | |
tree | 4642c7e1c288181f221025263ecce4ecce5bdfc0 /docs | |
parent | cb51b82b8e8114aaa3e1b19c41e5c4eebf0539d5 (diff) | |
download | handlebars.js-d567d9c34566a6adab1eaea40ade2729fbce8144.zip handlebars.js-d567d9c34566a6adab1eaea40ade2729fbce8144.tar.gz handlebars.js-d567d9c34566a6adab1eaea40ade2729fbce8144.tar.bz2 |
Update PartialExpression AST docs
Diffstat (limited to 'docs')
-rw-r--r-- | docs/compiler-api.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/compiler-api.md b/docs/compiler-api.md index 4a0ec01..7a5db38 100644 --- a/docs/compiler-api.md +++ b/docs/compiler-api.md @@ -118,13 +118,13 @@ interface SubExpression <: Expression { ```java interface PartialExpression <: Expression { type: "PartialExpression"; - name: PathExpression | SubExpression; + name: PathExpression | Literal | SubExpression; params: [ Expression ]; hash: Hash; } ``` -`path` may be a `SubExpression` when tied to a dynamic partial, i.e. `{{> (foo) }}` +`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. ##### Paths |