예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IndexLocation"/> class.
 /// </summary>
 /// <param name="value">The value<see cref="CXIdxLoc"/></param>
 internal IndexLocation(CXIdxLoc value)
 {
     this.m_value = value;
 }
예제 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="source">Native Clang Index Location</param>
 internal ClangIndexLocation(CXIdxLoc source)
 {
     this.Source = source;
 }
예제 #3
0
 /// <summary>
 /// Convert to Managed Clang Index Location
 /// </summary>
 /// <param name="loc">Native Clang Index Location</param>
 /// <returns>Managed Clang Index Location</returns>
 internal static ClangIndexLocation ToManaged(this CXIdxLoc loc)
 {
     return(new ClangIndexLocation(loc));
 }
예제 #4
0
파일: Library.cs 프로젝트: JadeHub/Jade
 internal static extern CXSourceLocation clang_indexLoc_getCXSourceLocation(CXIdxLoc idxLoc);
예제 #5
0
파일: Library.cs 프로젝트: JadeHub/Jade
 public bool Equals(CXIdxLoc other)
 {
     return data0 == other.data0 && data1 == other.data1 && data2 == other.data2;
 }
예제 #6
0
 internal Location(CXIdxLoc source)
 {
     this.source = source;
 }