diff options
author | Mihai Bazon <mihai@bazon.net> | 2012-10-09 18:35:53 +0300 |
---|---|---|
committer | Mihai Bazon <mihai@bazon.net> | 2012-10-09 18:35:53 +0300 |
commit | a84d07e31298fc1f8825b0047629634920667707 (patch) | |
tree | 44f924b4e5625900a2fdaf279401789b7a8b1be4 /lib/ast.js | |
parent | 88beddfa91c8f362cc74538937ce883541e77680 (diff) | |
download | tracifyjs-a84d07e31298fc1f8825b0047629634920667707.tar.gz tracifyjs-a84d07e31298fc1f8825b0047629634920667707.zip |
add AST_Infinity node
Diffstat (limited to 'lib/ast.js')
-rw-r--r-- | lib/ast.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -845,6 +845,11 @@ var AST_Undefined = DEFNODE("Undefined", null, { value: (function(){}()) }, AST_Atom); +var AST_Infinity = DEFNODE("Infinity", null, { + $documentation: "The `Infinity` value", + value: 1/0 +}, AST_Atom); + var AST_Boolean = DEFNODE("Boolean", null, { $documentation: "Base class for booleans", }, AST_Atom); |