Lines Matching refs:method
21 * Map the class name of the PhpCss\Ast\Node instance to a method name, validate if it exists and return
29 $method = $prefix.substr(str_replace('\\', '', get_class($object)), 9);
30 if (method_exists($this, $method)) {
31 return [$this, $method];
43 if ($method = $this->getMethodByClass($astNode, 'visitEnter')) {
44 return $method($astNode);
55 if ($method = $this->getMethodByClass($astNode)) {
56 $method($astNode);
67 if ($method = $this->getMethodByClass($astNode, 'visitLeave')) {
68 $method($astNode);