Пример #1
0
        /// <summary>
        ///		Genera un bloque en el programa
        /// </summary>
        internal ProgramSentencesBuilder WithBlock(string message)
        {
            ProgramSentencesBuilder builder = new ProgramSentencesBuilder(this, null, Program.Sentences);

            // Añade un bloque al generador
            return(builder.WithBlock(message));
        }
Пример #2
0
 internal ProgramSentencesBuilder(ProgramBuilder main, ProgramSentencesBuilder parent, SentenceCollection sentences)
 {
     Main      = main;
     Parent    = parent;
     Sentences = sentences;
 }