# Code coverage report for lib/parser/ast/group.js

## Statements: 100% (7 / 7) Branches: 100% (0 / 0) Functions: 100% (2 / 2) Lines: 100% (7 / 7) Ignored: none

All files » lib/parser/ast/ » group.js

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    151

    1
    28
    28

    1

    1

    1var BaseExpression = require("./base");

    function GroupExpression(expression) {
      this.expression = expression;
      BaseExpression.apply(this, arguments);
    }

    BaseExpression.extend(GroupExpression, {
      type: "call",
      toJavaScript: function() {
        return "(" + this.expression.toJavaScript() + ")";
      }
    });

    module.exports = GroupExpression;