private void ParseMethodBlock(SequenceDiagramComposite composite, SDBlock block) { var sequenceDiagramBlock = composite.AddBlock(block.Expression); foreach (var statement in block.Statements) { ParseCall(statement, sequenceDiagramBlock); } }
private SDBlock CreateBlock(string expression, string role) { var token = new SDBlock { Expression = expression, Role = role }; return(token); }