示例#1
0
 public bool EndsWith <T>() where T : Statement
 {
     return(!IsEmpty && (Statements.EndsWith <T>() ||
                         (LastStatement is Block && ((Block)LastStatement).EndsWith <T>())));
 }