diff options
author | kpdecker <kpdecker@gmail.com> | 2015-04-07 23:37:38 -0500 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2015-04-07 23:37:38 -0500 |
commit | 2d149e779764cb373be0585c5e493da405062be6 (patch) | |
tree | 97ff4511e445c7d0a70161a0b3bbe02e7e5551e9 /docs/compiler-api.md | |
parent | 81a4d50955b13e7d5e5052d904bb3e8c993ebb88 (diff) | |
download | handlebars.js-2d149e779764cb373be0585c5e493da405062be6.zip handlebars.js-2d149e779764cb373be0585c5e493da405062be6.tar.gz handlebars.js-2d149e779764cb373be0585c5e493da405062be6.tar.bz2 |
Add undefined and null literal support
This adds the UndefinedLiteral and NullLiteral to AST.
Fixes #990
Diffstat (limited to 'docs/compiler-api.md')
-rw-r--r-- | docs/compiler-api.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/compiler-api.md b/docs/compiler-api.md index 40ded8f..c09414f 100644 --- a/docs/compiler-api.md +++ b/docs/compiler-api.md @@ -164,6 +164,14 @@ interface NumberLiteral <: Literal { value: number; original: number; } + +interface UndefinedLiteral <: Literal { + type: "UndefinedLiteral"; +} + +interface NullLiteral <: Literal { + type: "NullLiteral"; +} ``` |