public function analyze() { // $this outside a class or a trait $this->atomIs('Variable')->codeIs('$this')->hasNoClass()->hasNoTrait(); $this->prepareQuery(); }