예제 #1
0
        public override Statement GetBody(JAst root)
        {
            Statement body = _node as Statement;
            if (body == null) {
                var retStmt = new ReturnStatement((Expression)_node);
                retStmt.RoundTripRemoveValueWhiteSpace(root);
                body = retStmt;
            }

            return new SuiteStatement(new[] { body });
        }