Skip to content

Commit 31e4f54

Browse files
committed
Update README.md
1 parent 6bcf30e commit 31e4f54

1 file changed

Lines changed: 0 additions & 28 deletions

File tree

README.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -89,34 +89,6 @@ Maml::errorSnippet($source, $node->span->start, 'Port out of range');
8989
// ........^
9090
```
9191

92-
## Node Types
93-
94-
| Node | `type` | `value` | `raw` |
95-
|------------|----------------|----------|-------|
96-
| String | `"String"` | `string` | yes |
97-
| Raw String | `"RawString"` | `string` | yes |
98-
| Integer | `"Integer"` | `int` | yes |
99-
| Float | `"Float"` | `float` | yes |
100-
| Boolean | `"Boolean"` | `bool` | -- |
101-
| Null | `"Null"` | `null` | -- |
102-
| Object | `"Object"` | `properties: Property[]` | -- |
103-
| Array | `"Array"` | `elements: Element[]` | -- |
104-
105-
Object keys are either `IdentifierKey` for bare keys like `host`, or `StringNode` for quoted keys like `"host name"`.
106-
107-
### Comments
108-
109-
Comments are attached to the nearest node:
110-
111-
- **`Property.leadingComments`** / **`Element.leadingComments`** -- comments on lines before
112-
- **`Property.trailingComment`** / **`Element.trailingComment`** -- comment on the same line after
113-
- **`ObjectNode.danglingComments`** / **`ArrayNode.danglingComments`** -- comments inside empty containers or after the last entry
114-
- **`Document.leadingComments`** / **`Document.danglingComments`** -- comments before/after the root value
115-
116-
### Blank lines
117-
118-
`Property.emptyLineBefore` and `Element.emptyLineBefore` are `true` when there is a blank line separating from the previous entry.
119-
12092
## License
12193

12294
[MIT](LICENSE)

0 commit comments

Comments
 (0)