/// <summary>
		/// Return the number of statements in the tree rooted in the suplied statement.
		/// </summary>
		/// <param name="statement">The root of the statements tree.</param>
		/// <returns>he number of statements in the tree.</returns>
		private int GetStatementsCount(Statement statement)
		{
			StatementsCounter statementsCounter = new StatementsCounter();
			return statementsCounter.GetStatementsCount(statement);
		}
Ejemplo n.º 2
0
        /// <summary>
        /// Return the number of statements in the tree rooted in the suplied statement.
        /// </summary>
        /// <param name="statement">The root of the statements tree.</param>
        /// <returns>he number of statements in the tree.</returns>
        private int GetStatementsCount(Statement statement)
        {
            StatementsCounter statementsCounter = new StatementsCounter();

            return(statementsCounter.GetStatementsCount(statement));
        }