コード例 #1
0
 function getScopeName()
 {
     $parentClassScope = $this->currentScope->findAncestorScopeByType(CODE_SCOPE_CLASS);
     if ($parentClassScope != null) {
         return "this." . $this->currentScope->getName();
     }
     return $this->currentScope->getName();
 }