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/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 |
|
} |
src/SQLParser/Node/ColRef.php 1 location
|
@@ 223-230 (lines=8) @@
|
| 220 |
|
* |
| 221 |
|
* @param VisitorInterface $visitor |
| 222 |
|
*/ |
| 223 |
|
public function walk(VisitorInterface $visitor) |
| 224 |
|
{ |
| 225 |
|
$node = $this; |
| 226 |
|
$result = $visitor->enterNode($node); |
| 227 |
|
if ($result instanceof NodeInterface) { |
| 228 |
|
$node = $result; |
| 229 |
|
} |
| 230 |
|
|
| 231 |
|
return $visitor->leaveNode($node); |
| 232 |
|
} |
| 233 |
|
} |