src/SQLParser/Node/Operator.php 1 location
|
@@ 103-110 (lines=8) @@
|
100 |
|
* |
101 |
|
* @return NodeInterface|null|string Can return null if nothing is to be done or a node that should replace this node, or NodeTraverser::REMOVE_NODE to remove the node |
102 |
|
*/ |
103 |
|
public function walk(VisitorInterface $visitor) |
104 |
|
{ |
105 |
|
$node = $this; |
106 |
|
$result = $visitor->enterNode($node); |
107 |
|
if ($result instanceof NodeInterface) { |
108 |
|
$node = $result; |
109 |
|
} |
110 |
|
|
111 |
|
return $visitor->leaveNode($node); |
112 |
|
} |
113 |
|
} |
src/SQLParser/Node/Parameter.php 1 location
|
@@ 200-207 (lines=8) @@
|
197 |
|
* |
198 |
|
* @return NodeInterface|null|string Can return null if nothing is to be done or a node that should replace this node, or NodeTraverser::REMOVE_NODE to remove the node |
199 |
|
*/ |
200 |
|
public function walk(VisitorInterface $visitor) |
201 |
|
{ |
202 |
|
$node = $this; |
203 |
|
$result = $visitor->enterNode($node); |
204 |
|
if ($result instanceof NodeInterface) { |
205 |
|
$node = $result; |
206 |
|
} |
207 |
|
|
208 |
|
return $visitor->leaveNode($node); |
209 |
|
} |
210 |
|
|
src/SQLParser/Node/ColRef.php 1 location
|
@@ 196-203 (lines=8) @@
|
193 |
|
* |
194 |
|
* @param VisitorInterface $visitor |
195 |
|
*/ |
196 |
|
public function walk(VisitorInterface $visitor) |
197 |
|
{ |
198 |
|
$node = $this; |
199 |
|
$result = $visitor->enterNode($node); |
200 |
|
if ($result instanceof NodeInterface) { |
201 |
|
$node = $result; |
202 |
|
} |
203 |
|
|
204 |
|
return $visitor->leaveNode($node); |
205 |
|
} |
206 |
|
} |
src/SQLParser/Node/LimitNode.php 1 location
|
@@ 115-122 (lines=8) @@
|
112 |
|
* |
113 |
|
* @return NodeInterface|null|string Can return null if nothing is to be done or a node that should replace this node, or NodeTraverser::REMOVE_NODE to remove the node |
114 |
|
*/ |
115 |
|
public function walk(VisitorInterface $visitor) |
116 |
|
{ |
117 |
|
$node = $this; |
118 |
|
$result = $visitor->enterNode($node); |
119 |
|
if ($result instanceof NodeInterface) { |
120 |
|
$node = $result; |
121 |
|
} |
122 |
|
|
123 |
|
return $visitor->leaveNode($node); |
124 |
|
} |
125 |
|
} |
src/SQLParser/Node/Reserved.php 1 location
|
@@ 139-146 (lines=8) @@
|
136 |
|
* |
137 |
|
* @param VisitorInterface $visitor |
138 |
|
*/ |
139 |
|
public function walk(VisitorInterface $visitor) |
140 |
|
{ |
141 |
|
$node = $this; |
142 |
|
$result = $visitor->enterNode($node); |
143 |
|
if ($result instanceof NodeInterface) { |
144 |
|
$node = $result; |
145 |
|
} |
146 |
|
|
147 |
|
return $visitor->leaveNode($node); |
148 |
|
} |
149 |
|
} |
src/SQLParser/Node/ConstNode.php 1 location
|
@@ 128-135 (lines=8) @@
|
125 |
|
* |
126 |
|
* @return NodeInterface|null|string Can return null if nothing is to be done or a node that should replace this node, or NodeTraverser::REMOVE_NODE to remove the node |
127 |
|
*/ |
128 |
|
public function walk(VisitorInterface $visitor) |
129 |
|
{ |
130 |
|
$node = $this; |
131 |
|
$result = $visitor->enterNode($node); |
132 |
|
if ($result instanceof NodeInterface) { |
133 |
|
$node = $result; |
134 |
|
} |
135 |
|
|
136 |
|
return $visitor->leaveNode($node); |
137 |
|
} |
138 |
|
} |