Comments (1)
Oeh, thanks @eush77 for bringing up this point. I think this is wrong, and it should be as follows:
* must have a `type` property set to a to its namespace semantic
`string`;
* may have either a `value` property set to a `string` or a `children`
- property set to an array of one or more `Unist` nodes;
+ property set to an array of zero or more `Unist` nodes;
* may have a `data` property set to a `JSON.stringify`able object;
...as I agree with your points 😄
from unist.
Related Issues (20)
- Would unist make a good programming language AST format? HOT 4
- A swiss army knife for Unist-util-*. HOT 5
- Using hast instead of mdast to describe markdown documents HOT 1
- Use proper naming for position/location HOT 3
- No utility for creating a selector from a root and a leaf node. HOT 1
- Specify `indent` HOT 3
- Rename abstract `text` interface to `literal` HOT 2
- `line`, `column`, and `offset` in `point` underspecified HOT 4
- What's the unit of character in Point HOT 7
- Add tree traversal methods to glossary
- Add `enter` and `exit` terms to glossary
- is it possible to insert a node or remove a node in ast tree? HOT 4
- More strict notion of JSON-stringifiability for all properties HOT 14
- Error at C:/web/node_modules/@types/unist/index.d.ts:92:58: ';' expected. HOT 8
- Stringifiability of other Node properties HOT 3
- Unist Test Suite HOT 3
- adast - asciidoc syntax tree HOT 5
- Unist vs Loyc trees HOT 6
- What is a `column` or `offset`, exactly?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unist.