Rename .value to .body in "ordgroup". (#1609)

This commit is contained in:
Ashish Myles
2018-08-13 10:17:23 -04:00
committed by ylemkimon
parent 8492a7532b
commit fcc5c4420a
15 changed files with 84 additions and 84 deletions

View File

@@ -241,5 +241,5 @@ export function defineFunctionBuilders<NODETYPE: NodeType>({
// list of elements, we normalize for different kinds of arguments
export const ordargument = function(arg: AnyParseNode): AnyParseNode[] {
const node = checkNodeType(arg, "ordgroup");
return node ? node.value : [arg];
return node ? node.body : [arg];
};