/// <summary>
 /// Returns lazily computed line and column information by node's end position.
 /// </summary>
 public static LineInfo GetLineInfoEnd(this INode node, ISourceFile sourceFile)
 {
     return(LineInfo.FromLineMap(sourceFile.LineMap, node.End));
 }
 /// <summary>
 /// Returns lazily computed line and column information by node's position.
 /// </summary>
 public static LineInfo GetLineInfo(this INode node, ISourceFile sourceFile)
 {
     return(LineInfo.FromLineMap(sourceFile.LineMap, node.Pos + node.GetLeadingTriviaLength()));
 }