public ASTFinder(SyntaxTree root_, Type type_, ASTCheck check_ = null) { _root = root_; _type = type_; _check = check_; }
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()); }