Exemple #1
0
        internal Token(CXToken cxToken, TranslationUnit translationUnit)
        {
            Debug.Assert(translationUnit != null);
            translationUnit.ThrowIfDisposed();

            Struct          = cxToken;
            TranslationUnit = translationUnit;
        }
 public static extern CXSourceRange clang_getTokenExtent(
     CXTranslationUnitImpl *arg1,
     CXToken arg2);
 public static extern CXString clang_getTokenSpelling(
     CXTranslationUnitImpl *arg1,
     CXToken arg2);
 public static extern CXSourceLocation clang_getTokenLocation(
     CXTranslationUnitImpl *arg1,
     CXToken arg2);
 public static extern CXTokenKind clang_getTokenKind(
     CXToken arg1);