add AST_Infinity node

This commit is contained in:
Mihai Bazon
2012-10-09 18:35:53 +03:00
parent 88beddfa91
commit a84d07e312
3 changed files with 10 additions and 2 deletions

View File

@@ -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);