Skip to content

Commit efcba43

Browse files
committed
remove shell node
1 parent df91203 commit efcba43

File tree

1 file changed

+26
-33
lines changed

1 file changed

+26
-33
lines changed

docs/AST.md

Lines changed: 26 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,6 @@
22

33
## AST
44

5-
The AST builder class
6-
7-
**Parameters**
8-
9-
- `withPositions`
10-
- `withSource`
11-
12-
**Properties**
13-
14-
- `withPositions` **[Boolean](#boolean)** Should locate any node (by default false)
15-
- `withSource` **[Boolean](#boolean)** Should extract the node original code (by default false)
16-
17-
### prepare
18-
19-
Prepares an AST node
20-
21-
**Parameters**
22-
23-
- `kind` **([String](#string) | null)** Defines the node type
24-
(if null, the kind must be passed at the function call)
25-
- `parser` **Parser** The parser instance (use for extracting locations)
26-
27-
Returns **[Function](#function)**
28-
29-
## AST
30-
315
## Class hierarchy
326

337
- [Location](#location)
@@ -66,7 +40,6 @@ Returns **[Function](#function)**
6640
- [Number](#number)
6741
- [Inline](#inline)
6842
- [Magic](#magic)
69-
- [Shell](#shell)
7043
- [Nowdoc](#nowdoc)
7144
- [Encapsed](#encapsed)
7245
- [Statement](#statement)
@@ -136,6 +109,32 @@ Prepares an AST node
136109

137110
Returns **[Function](#function)**
138111

112+
## AST
113+
114+
The AST builder class
115+
116+
**Parameters**
117+
118+
- `withPositions`
119+
- `withSource`
120+
121+
**Properties**
122+
123+
- `withPositions` **[Boolean](#boolean)** Should locate any node (by default false)
124+
- `withSource` **[Boolean](#boolean)** Should extract the node original code (by default false)
125+
126+
### prepare
127+
128+
Prepares an AST node
129+
130+
**Parameters**
131+
132+
- `kind` **([String](#string) | null)** Defines the node type
133+
(if null, the kind must be passed at the function call)
134+
- `parser` **Parser** The parser instance (use for extracting locations)
135+
136+
Returns **[Function](#function)**
137+
139138
## Array
140139

141140
**Extends Expression**
@@ -959,12 +958,6 @@ A continue statement
959958

960959
- `expr` **([Expression](#expression) | null)**
961960

962-
## Shell
963-
964-
**Extends Literal**
965-
966-
Defines inline html output (treated as echo output)
967-
968961
## Silent
969962

970963
**Extends Statement**

0 commit comments

Comments
 (0)