BlackLinks.Templates.InternalCSharpTemplateCompiler.parseLine C# (CSharp) Method

parseLine() private method

private parseLine ( ) : void
return void
		void parseLine ()
		{
			foreach (char c in currentLine)
			{
				currentBlock.Buffer.Append (c);
				if (currentBlock.IsCodeStart)
				{
					currentBlock.RemoveCodeStart ();
					continueWithBlocks ();
					currentBlock.Type = BlockType.Code;
				} else if (currentBlock.IsCodeEnd)
				{
					currentBlock.RemoveCodeEnd ();
					continueWithBlocks ();
				}
			}
			if (currentBlock.Type == BlockType.Literal)
			{
				currentBlock.isLineOfText = true;
			}
		}
	}