Skip to content

Commit

Permalink
feat(parse) more tolerant of whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
akollegger committed Dec 10, 2020
1 parent 88ebbb9 commit 2473cb7
Show file tree
Hide file tree
Showing 8 changed files with 314 additions and 221 deletions.
21 changes: 0 additions & 21 deletions packages/gram-builder/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,27 +223,6 @@ export const edge = (
children,
});

/**
* Build a path
*
* @param children
* @param id
* @param labels
* @param record
*/
// export const path = (
// members: [GramPath] | [GramPath, GramPath],
// id?: string,
// labels?: string[],
// record?: GramRecord
// ): GramPath => ({
// type: 'path',
// id,
// ...(labels && { labels }),
// ...(record && { record }),
// children: members,
// });

/**
* Build a pair
*
Expand Down
Loading

0 comments on commit 2473cb7

Please sign in to comment.