/**
  * @return array[]
  */
 function providerPhpToAst()
 {
     $list = array();
     $classes = array(ClassIndexBase::class, ClassIndex_IncludeBase::class, ClassIndex_SemiNative::class, ClassLikeReflectionInterface::class, OwnBody_DecoratorTrait::class);
     foreach (array(PhpToAst_Parser::create(TRUE), PhpToAst_Parser::create(FALSE)) as $phpToAst) {
         foreach ($classes as $class) {
             $list[] = array($phpToAst, $class);
         }
     }
     return $list;
 }
 /**
  * @return array[]
  */
 function providerPhpToAst()
 {
     $list = array();
     $classes = array(AstClassLike::class, AstClassLikeInterface::class);
     foreach (array('lazy' => PhpToAst_Parser::create(TRUE), 'non-lazy' => PhpToAst_Parser::create(FALSE)) as $lazy_str => $phpToAst) {
         foreach ($classes as $class) {
             $list[$lazy_str . ' ' . $class] = array($phpToAst, $class);
         }
     }
     return $list;
 }
 /**
  * @param bool $lazy
  *
  * @return \Donquixote\HastyReflectionParser\PhpToReflection\PhpToReflection_ViaAst
  */
 static function create($lazy = FALSE)
 {
     return new self(PhpToAst_Parser::create($lazy), new AstToFileReflection());
 }