File tree Expand file tree Collapse file tree 1 file changed +26
-33
lines changed Expand file tree Collapse file tree 1 file changed +26
-33
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## AST
4
4
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
-
31
5
## Class hierarchy
32
6
33
7
- [ Location] ( #location )
@@ -66,7 +40,6 @@ Returns **[Function](#function)**
66
40
- [ Number] ( #number )
67
41
- [ Inline] ( #inline )
68
42
- [ Magic] ( #magic )
69
- - [ Shell] ( #shell )
70
43
- [ Nowdoc] ( #nowdoc )
71
44
- [ Encapsed] ( #encapsed )
72
45
- [ Statement] ( #statement )
@@ -136,6 +109,32 @@ Prepares an AST node
136
109
137
110
Returns ** [ Function] ( #function ) **
138
111
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
+
139
138
## Array
140
139
141
140
** Extends Expression**
@@ -959,12 +958,6 @@ A continue statement
959
958
960
959
- `expr` **([Expression](#expression) | null)**
961
960
962
- ## Shell
963
-
964
- **Extends Literal**
965
-
966
- Defines inline html output (treated as echo output)
967
-
968
961
## Silent
969
962
970
963
**Extends Statement**
You can’t perform that action at this time.
0 commit comments