diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2019-12-28 20:26:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-28 20:26:15 +0000 |
commit | d9cd3d33c8f2b769da922d355373d466f8b30704 (patch) | |
tree | 095c4497bfeaacb24437c950e685df180645687c /lib/ast.js | |
parent | 22b47cdd639263313317b77a3166afad767a7ef6 (diff) | |
download | tracifyjs-d9cd3d33c8f2b769da922d355373d466f8b30704.tar.gz tracifyjs-d9cd3d33c8f2b769da922d355373d466f8b30704.zip |
enhance `evaluate` (#3649)
Diffstat (limited to 'lib/ast.js')
-rw-r--r-- | lib/ast.js | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -618,7 +618,7 @@ var AST_PropAccess = DEFNODE("PropAccess", "expression property", { getProperty: function() { var p = this.property; if (p instanceof AST_Constant) { - return p.getValue(); + return p.value; } if (p instanceof AST_UnaryPrefix && p.operator == "void" @@ -824,9 +824,6 @@ var AST_This = DEFNODE("This", null, { var AST_Constant = DEFNODE("Constant", null, { $documentation: "Base class for all constants", - getValue: function() { - return this.value; - } }); var AST_String = DEFNODE("String", "value quote", { |