Пример #1
0
 public ASTFinder(SyntaxTree root_, Type type_, ASTCheck check_ = null)
 {
     _root  = root_;
     _type  = type_;
     _check = check_;
 }
Пример #2
0
        public static T Find <T>(SyntaxTree root, ASTCheck check = null) where T : SyntaxTree
        {
            var finder = new ASTFinder(root, typeof(T), check);

            return((T)finder.Find());
        }